Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [PATCH] tracepoint event exclusion
@ 2012-06-27 14:08 Woegerer, Paul
  2012-06-27 18:33 ` Mathieu Desnoyers
  0 siblings, 1 reply; 3+ messages in thread
From: Woegerer, Paul @ 2012-06-27 14:08 UTC (permalink / raw)


Hi,

In order to support situations where a user wants generally all 
tracepoints enabled but specific tracepoints to be suppressed during a 
trace session, I created a small patch that allows us to do the following:

...
lttng enable-event -u -c met_tools -a
lttng enable-event -u -c met_tools --tracepoint '!met_func:*'
lttng enable-event -u -c met_tools --tracepoint '!met_call:*'
...

This has the effect that all tracepoints get recorded except for 
tracepoints that match met_func:* or met_call:*.

If you think this feature is useful for others we would be happy to see 
this patch merged into trunk.

Thanks,
Paul

-- 
Paul Woegerer | SW Development Engineer
Mentor Embedded(tm) | Prinz Eugen Stra?e 72/2/4, Vienna, 1040 Austria
P 43.1.535991320
Nucleus? | Linux? | Android(tm) | Services | UI | Multi-OS

Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: event_exclusion.patch
Type: text/x-patch
Size: 2157 bytes
Desc: not available
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120627/3a8a1c68/attachment.bin>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-28  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 14:08 [lttng-dev] [PATCH] tracepoint event exclusion Woegerer, Paul
2012-06-27 18:33 ` Mathieu Desnoyers
2012-06-28  9:26   ` Woegerer, Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox