X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-probes.c;h=45d2dabdef22e977fe8122deeb9a5417aa07fc21;hb=a181050f402c41239e5537b89c66e0349af65d61;hp=ab4b349ee2c47c9ec581a67aaf971c2695639a26;hpb=cbd4ecb28a17e4e8888affb573bd3f7a2cae874a;p=lttng-modules.git diff --git a/ltt-probes.c b/ltt-probes.c index ab4b349e..45d2dabd 100644 --- a/ltt-probes.c +++ b/ltt-probes.c @@ -4,6 +4,8 @@ * Copyright 2010 (c) - Mathieu Desnoyers * * Holds LTTng probes registry. + * + * Dual LGPL v2.1/GPL v2 license. */ #include @@ -129,6 +131,11 @@ 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). + */ + if (!strncmp(probe_desc->name, "lttng_", sizeof("lttng_") - 1)) + return 0; seq_printf(m, "event { name = %s; };\n", probe_desc->name); return 0;