summaryrefslogtreecommitdiffstats
path: root/samples/tracepoints/tracepoint-probe-sample2.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-11-14 17:47:40 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-16 09:01:30 +0100
commita0bca6a59ebc052751eed6e3b182c153495672d8 (patch)
tree657ca4a1c63cb6303a28a7b512a99af592e45a20 /samples/tracepoints/tracepoint-probe-sample2.c
parentc1df1bd2c4d4b20c83755a0f41956b57aec4842a (diff)
downloadlinux-a0bca6a59ebc052751eed6e3b182c153495672d8.tar.gz
linux-a0bca6a59ebc052751eed6e3b182c153495672d8.tar.bz2
linux-a0bca6a59ebc052751eed6e3b182c153495672d8.zip
markers: create DEFINE_MARKER and GET_MARKER (new API)
Impact: new API. Allow markers to be used only for declaration, without function call associated. Useful to create specialized probes. The problem we had is that two function calls were required when one wanted to put a marker in a tracepoint probe. Now the marker can be used simply for trace data type declaration, leaving the trace write work within the tracepoint probe without any additional function call. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples/tracepoints/tracepoint-probe-sample2.c')
0 files changed, 0 insertions, 0 deletions