From: Francis Deslauriers Date: Sat, 24 Nov 2018 00:20:45 +0000 (-0500) Subject: userspace-probe: Print error on binary not found X-Git-Tag: v2.12.0-rc1~697 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bb77204a261b474f7b659247c5fda93de4e40b86;p=lttng-tools.git userspace-probe: Print error on binary not found Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands/enable_events.c index 41be3a5a0..f7c5553da 100644 --- a/src/bin/lttng/commands/enable_events.c +++ b/src/bin/lttng/commands/enable_events.c @@ -491,6 +491,7 @@ static int parse_userspace_probe_opts(struct lttng_event *ev, char *opt) */ ret = access(real_target_path, F_OK); if (ret) { + ERR("Cannot find binary at path: %s.", real_target_path); ret = CMD_ERROR; goto end_destroy_lookup_method; }