Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [LTTNG-UST PATCH 00/01] Added event exclusion
@ 2013-08-26 12:52 Ikaheimonen, JP
  0 siblings, 0 replies; only message in thread
From: Ikaheimonen, JP @ 2013-08-26 12:52 UTC (permalink / raw)


This patch adds the possibility to NOT enable given events, even if they are covered by some wildcard specification.
When an event specification in the enable-event command starts with a '!' character, the specification is taken to tell which events should never be enabled.

Thus, the commands

lttng event-enable -u -s test -c testc "!ab*"
lttng event-enable -u -s test -c testc "a*"

will enable all events that begin with 'a', unless they begin with 'ab'.

On a related LTTng-tools patch, a new option --exclude (or -x) is added to the event-enable command.
This option just prepends the '!' character to the given event, and ignores all loglevel and filter options.
This, you can say
lttng event-enable -u -s test -c testc "a*" --exclude "ab*"
on one single command line.

For an extended discussion, see http://lists.lttng.org/pipermail/lttng-dev/2013-August/021181.html


JP Ikaheimonen | SW Development Engineer http://go.mentor.com/sourceryanalyzer

Mentor Embedded(tm) | Nucleus(r) | Linux(r) | 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-26 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-26 12:52 [lttng-dev] [LTTNG-UST PATCH 00/01] Added event exclusion Ikaheimonen, JP

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