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.11.0-rc2~110 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cb3beba320e0df8422a06d3e808afcf15b977731;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; }