bcc: Auto-tracepoints similar to auto-kprobes
When a function in the BPF program starts with "tracepoint__", parse the rest of the name as a tracepoint category and name and attach the tracepoint automatically. For example: ``` int tracepoint__sched__sched_switch(...) ``` As a result, the sched:sched_switch tracepoint is enabled and the function is attached to that tracepoint.
Showing
Please register or sign in to comment