diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-17 18:21:09 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-29 18:31:35 +0200 |
commit | 262d3d9291d5dcd2530d5a0d3170e9dc0345a002 (patch) | |
tree | 82d111e2457979f5ea061e6c96f9d4a6d7d9ad8e /lib/runtime_tools/c_src/dyntrace_lttng.h | |
parent | a4811133b70370e54162d256d61ef4c084e1f4fe (diff) | |
download | otp-262d3d9291d5dcd2530d5a0d3170e9dc0345a002.tar.gz otp-262d3d9291d5dcd2530d5a0d3170e9dc0345a002.tar.bz2 otp-262d3d9291d5dcd2530d5a0d3170e9dc0345a002.zip |
runtime_tools: Extend 'enabled' tracer callbacks
Adds the following capabilities to dyntrace
* enabled_procs/3
* enabled_ports/3
* enabled_running/3
* enabled_call/3
* enabled_send/3
* enabled_receive/3
* enabled_garbage_collection/3
Diffstat (limited to 'lib/runtime_tools/c_src/dyntrace_lttng.h')
-rw-r--r-- | lib/runtime_tools/c_src/dyntrace_lttng.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/runtime_tools/c_src/dyntrace_lttng.h b/lib/runtime_tools/c_src/dyntrace_lttng.h index 3044cf0948..541a6c16e8 100644 --- a/lib/runtime_tools/c_src/dyntrace_lttng.h +++ b/lib/runtime_tools/c_src/dyntrace_lttng.h @@ -41,6 +41,9 @@ #define LTTNG5(Name, Arg1, Arg2, Arg3, Arg4, Arg5) \ tracepoint(com_ericsson_dyntrace, Name, (Arg1), (Arg2), (Arg3), (Arg4), (Arg5)) +#define LTTNG_ENABLED(Name) \ + tracepoint_enabled(com_ericsson_dyntrace, Name) + #define LTTNG_BUFFER_SZ (256) #define LTTNG_PROC_BUFFER_SZ (16) #define LTTNG_PORT_BUFFER_SZ (20) |