[Bug tapsets/13330] Support TRACE_SYSTEM for tracepoints

jlebon at redhat dot com sourceware-bugzilla@sourceware.org
Mon Dec 22 15:36:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=13330

Jonathan Lebon <jlebon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jlebon at redhat dot com

--- Comment #2 from Jonathan Lebon <jlebon at redhat dot com> ---
Added support for TRACE_SYSTEM in branch jlebon/trace_system:

$ stap -l 'kernel.trace("*")' | head
kernel.trace("9p:9p_client_req")
kernel.trace("9p:9p_client_res")
kernel.trace("9p:9p_protocol_dump")
kernel.trace("asoc:snd_soc_bias_level_done")
kernel.trace("asoc:snd_soc_bias_level_start")
kernel.trace("asoc:snd_soc_cache_sync")
kernel.trace("asoc:snd_soc_dapm_connected")
kernel.trace("asoc:snd_soc_dapm_done")
kernel.trace("asoc:snd_soc_dapm_input_path") 
kernel.trace("asoc:snd_soc_dapm_output_path")
$ stap -e 'probe kernel.trace("sched:sched_switch") { println($$system, ":",
$$name); exit() }'
sched:sched_switch
$ 

The old syntax is of course still supported. Because this change breaks the
value returned by pn(), the --compatible=2.6 switch can be used to disable
TRACE_SYSTEM support.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list