X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-probes.c;h=d6a6cf2e768fafd63bccc7c652531e67bbbd1b75;hb=refs%2Fheads%2Fstable-2.4;hp=97dcc35908353fe7b56bf7e896fe9fd5c033e563;hpb=a90917c3f8c4ed79117f1caa333b29a2108084ec;p=lttng-modules.git diff --git a/lttng-probes.c b/lttng-probes.c index 97dcc359..d6a6cf2e 100644 --- a/lttng-probes.c +++ b/lttng-probes.c @@ -1,11 +1,23 @@ /* * lttng-probes.c * - * Copyright 2010-2011 (c) - Mathieu Desnoyers - * * Holds LTTng probes registry. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -131,11 +143,6 @@ 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;