projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: Capture is only supported by tracepoint and syscall event-rules
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
add_trigger.c
diff --git
a/src/bin/lttng/commands/add_trigger.c
b/src/bin/lttng/commands/add_trigger.c
index b3b1dade11174d7b1481c4d599f6658267bead79..feba92f6fb9c33c2ab0600a6698277c9716b3c6e 100644
(file)
--- a/
src/bin/lttng/commands/add_trigger.c
+++ b/
src/bin/lttng/commands/add_trigger.c
@@
-1115,6
+1115,10
@@
struct lttng_condition *handle_condition_event(int *argc, const char ***argv)
status = lttng_condition_event_rule_append_capture_descriptor(
c, *expr);
if (status != LTTNG_CONDITION_STATUS_OK) {
status = lttng_condition_event_rule_append_capture_descriptor(
c, *expr);
if (status != LTTNG_CONDITION_STATUS_OK) {
+ if (status == LTTNG_CONDITION_STATUS_UNSUPPORTED) {
+ ERR("The capture feature is unsupported by the event-rule condition type");
+ }
+
goto error;
}
goto error;
}
This page took
0.024875 seconds
and
4
git commands to generate.