userspace-probe: Print error on binary not found
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Sat, 24 Nov 2018 00:20:45 +0000 (19:20 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 10 Dec 2018 19:59:50 +0000 (14:59 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/enable_events.c

index 41be3a5a03fbd5476732657e35b46769b347c02d..f7c5553da55b211383e31fb0fe92c3c6083693d1 100644 (file)
@@ -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;
                }
This page took 0.03291 seconds and 4 git commands to generate.