From: jp_ikaheimonen@mentor.com (Ikaheimonen, JP)
Subject: [lttng-dev] [LTTNG-UST PATCH 00/01] Added event exclusion
Date: Mon, 26 Aug 2013 12:52:32 +0000 [thread overview]
Message-ID: <009B25148989C6458484484699278506E53869B7@EU-MBX-01.mgc.mentorg.com> (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.
reply other threads:[~2013-08-26 12:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=009B25148989C6458484484699278506E53869B7@EU-MBX-01.mgc.mentorg.com \
--to=jp_ikaheimonen@mentor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox