static void print_userspace_probe_location(struct lttng_event *event)
{
- struct lttng_userspace_probe_location *location;
- struct lttng_userspace_probe_location_lookup_method *lookup_method;
+ const struct lttng_userspace_probe_location *location;
+ const struct lttng_userspace_probe_location_lookup_method *lookup_method;
enum lttng_userspace_probe_location_lookup_method_type lookup_type;
location = lttng_event_get_userspace_probe_location(event);
}
if (value) {
- MSG("%" PRId64 " µs", value);
+ MSG("%" PRId64 " %s", value, USEC_UNIT);
} else {
MSG("inactive");
}
if (blocking_timeout == -1) {
MSG("%sBlocking timeout: infinite", indent6);
} else {
- MSG("%sBlocking timeout: %" PRId64 " µs", indent6, blocking_timeout);
+ MSG("%sBlocking timeout: %" PRId64 " %s", indent6,
+ blocking_timeout, USEC_UNIT);
}
}
goto end;
}
- MSG(" timer period: %" PRIu64" µs", value);
+ MSG(" timer period: %" PRIu64" %s", value, USEC_UNIT);
ret = CMD_SUCCESS;
end:
return ret;