X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fuprobe.c;h=2a2890184d766c2279b36fccfcc7372f20472fd0;hb=81663f073dbfb4b61c06a0ceb8ca33c4fc41b1c5;hp=6af20bbdee0e6836a5bd668058345898390d6f3a;hpb=e358ddd51a5be6017f524523ac10d7c17fb78f65;p=lttng-tools.git diff --git a/src/bin/lttng/uprobe.c b/src/bin/lttng/uprobe.c index 6af20bbde..2a2890184 100644 --- a/src/bin/lttng/uprobe.c +++ b/src/bin/lttng/uprobe.c @@ -195,7 +195,6 @@ error: * Set the userspace probe fields in the lttng_event struct and set the * target_path to the path to the binary. */ -LTTNG_HIDDEN int parse_userspace_probe_opts(const char *opt, struct lttng_userspace_probe_location **probe_location) { @@ -209,7 +208,7 @@ int parse_userspace_probe_opts(const char *opt, struct lttng_userspace_probe_location_lookup_method *lookup_method = NULL; struct lttng_dynamic_pointer_array tokens; - assert(opt); + LTTNG_ASSERT(opt); /* * userspace probe fields are separated by ':'.