Harald Welte | 433005c | 2020-09-26 11:51:32 +0200 | [diff] [blame] | 1 | /* libosmocore tapset |
| 2 | * |
| 3 | * This file is part of libosmocore. |
| 4 | * |
| 5 | * Each probe defines the probe name and a full probestr which consist of the probe name and between |
| 6 | * brackets all argument names and values. |
| 7 | */ |
| 8 | |
| 9 | probe libosmocore_log_start = process("libosmocore").mark("log_start") |
| 10 | { |
| 11 | count = $arg1; |
| 12 | probestr = sprintf("%s(count=%d), $$name, count); |
| 13 | } |
| 14 | |
| 15 | probe libosmocore_log_done = process("libosmocore").mark("log_done") |
| 16 | { |
| 17 | probestr = sprintf("%s", $$name); |
| 18 | } |
Harald Welte | 3217d51 | 2021-02-18 14:56:46 +0100 | [diff] [blame] | 19 | |
| 20 | probe libosmocore_stats_start = process("libosmocore").mark("statsd_start") |
| 21 | { |
| 22 | count = $arg1; |
| 23 | probestr = sprintf("%s(count=%d), $$name, count); |
| 24 | } |
| 25 | |
| 26 | probe libosmocore_stats_done = process("libosmocore").mark("statsd_done") |
| 27 | { |
| 28 | probestr = sprintf("%s", $$name); |
| 29 | } |