userspace-probe: Print error on binary not found
[lttng-tools.git] / 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.023285 seconds and 4 git commands to generate.