From: jonathan.rajotte-julien@efficios.com (Jonathan Rajotte)
Subject: [lttng-dev] [PATCH lttng-tools 2/2] Fix: do not spawn sessiond on track/untrack commands
Date: Fri, 24 Jul 2015 17:43:00 -0400 [thread overview]
Message-ID: <1437774180-32746-2-git-send-email-jonathan.rajotte-julien@efficios.com> (raw)
In-Reply-To: <1437774180-32746-1-git-send-email-jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
src/bin/lttng/lttng.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c
index 13c7732..4cc320c 100644
--- a/src/bin/lttng/lttng.c
+++ b/src/bin/lttng/lttng.c
@@ -432,7 +432,9 @@ static int check_args_no_sessiond(int argc, char **argv)
strncmp(argv[i], "--list-options", sizeof("--list-options")) == 0 ||
strncmp(argv[i], "--list-commands", sizeof("--list-commands")) == 0 ||
strncmp(argv[i], "version", sizeof("version")) == 0 ||
- strncmp(argv[i], "view", sizeof("view")) == 0) {
+ strncmp(argv[i], "view", sizeof("view")) == 0 ||
+ strncmp(argv[i], "track", sizeof("track")) == 0 ||
+ strncmp(argv[i], "untrack", sizeof("untrack")) == 0) {
return 1;
}
}
--
2.1.4
next prev parent reply other threads:[~2015-07-24 21:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 21:42 [lttng-dev] [PATCH lttng-tools 1/2] Fix: pids should be numbers only Jonathan Rajotte
2015-07-24 21:43 ` Jonathan Rajotte [this message]
2015-07-27 15:42 ` [lttng-dev] [PATCH lttng-tools 2/2] Fix: do not spawn sessiond on track/untrack commands Jérémie Galarneau
2015-07-28 15:51 ` [lttng-dev] [PATCH lttng-tools 1/2] Fix: pids should be numbers only Jérémie Galarneau
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=1437774180-32746-2-git-send-email-jonathan.rajotte-julien@efficios.com \
--to=jonathan.rajotte-julien@efficios.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