diff options
Diffstat (limited to 'tapset/libosmocore.stp')
-rw-r--r-- | tapset/libosmocore.stp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tapset/libosmocore.stp b/tapset/libosmocore.stp new file mode 100644 index 00000000..a3e8f211 --- /dev/null +++ b/tapset/libosmocore.stp @@ -0,0 +1,29 @@ +/* libosmocore tapset + * + * This file is part of libosmocore. + * + * Each probe defines the probe name and a full probestr which consist of the probe name and between + * brackets all argument names and values. + */ + +probe libosmocore_log_start = process("libosmocore").mark("log_start") +{ + count = $arg1; + probestr = sprintf("%s(count=%d), $$name, count); +} + +probe libosmocore_log_done = process("libosmocore").mark("log_done") +{ + probestr = sprintf("%s", $$name); +} + +probe libosmocore_stats_start = process("libosmocore").mark("statsd_start") +{ + count = $arg1; + probestr = sprintf("%s(count=%d), $$name, count); +} + +probe libosmocore_stats_done = process("libosmocore").mark("statsd_done") +{ + probestr = sprintf("%s", $$name); +} |