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. _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
