projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fff1fa
)
Add error message if event not found
author
David Goulet
<david.goulet@polymtl.ca>
Sun, 17 Jul 2011 17:10:44 +0000
(13:10 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Sun, 17 Jul 2011 17:10:44 +0000
(13:10 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/commands/enable_events.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng/commands/enable_events.c
b/lttng/commands/enable_events.c
index 718e4b3c30b3894d47d20026f4103552c3f0988c..ce8d6024155e6dea7c7a2b696ac60cf521e48fe0 100644
(file)
--- a/
lttng/commands/enable_events.c
+++ b/
lttng/commands/enable_events.c
@@
-193,6
+193,9
@@
static int enable_events(void)
switch (opt_event_type) {
case LTTNG_EVENT_TRACEPOINTS:
ret = lttng_kernel_enable_event(&ev, channel_name);
+ if (ret < 0) {
+ ERR("Unable to find event %s", ev.name);
+ }
break;
case LTTNG_EVENT_KPROBES:
ret = parse_kprobe_opts(&ev, opt_kprobe);
This page took
0.025445 seconds
and
4
git commands to generate.