X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-probes.c;h=15e05bef01768abc6ca00e9f3cf143d54e05d78c;hp=97dcc35908353fe7b56bf7e896fe9fd5c033e563;hb=c337ddc219f608d4d35f461bdc9d2246324d6708;hpb=ed5a7a8ff90907466838a57cd0cf8500d83a5e9f diff --git a/lttng-probes.c b/lttng-probes.c index 97dcc359..15e05bef 100644 --- a/lttng-probes.c +++ b/lttng-probes.c @@ -132,9 +132,9 @@ int tp_list_show(struct seq_file *m, void *p) const struct lttng_event_desc *probe_desc = p; /* - * Don't export lttng internal events (metadata). + * Don't export lttng internal event: lttng_metadata. */ - if (!strncmp(probe_desc->name, "lttng_", sizeof("lttng_") - 1)) + if (!strcmp(probe_desc->name, "lttng_metadata")) return 0; seq_printf(m, "event { name = %s; };\n", probe_desc->name);