X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracercore.h;h=3113383cfd69184e52cd06f1a81f3b47566f8472;hb=01ec234c60dbd2e047927ace561201417e83e4ef;hp=e5ff00f78edc8c0aa4264a2d79b1f2ae7398707d;hpb=b4512257eb71d0432554047acf6278dc42a15a75;p=ust.git diff --git a/libust/tracercore.h b/libust/tracercore.h index e5ff00f..3113383 100644 --- a/libust/tracercore.h +++ b/libust/tracercore.h @@ -2,13 +2,26 @@ * Copyright (C) 2005,2006 Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca) * * This contains the core definitions for the Linux Trace Toolkit. + * + * 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; either + * version 2.1 of the License, or (at your option) any later version. + * + * 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 */ -#ifndef LTT_CORE_H -#define LTT_CORE_H +#ifndef UST_TRACERCORE_H +#define UST_TRACERCORE_H -#include "list.h" -#include "kernelcompat.h" +#include //ust// #include /* ltt's root dir in debugfs */ @@ -28,11 +41,6 @@ struct ltt_traces { extern struct ltt_traces ltt_traces; -/* - * get dentry of ltt's root dir - */ -struct dentry *get_ltt_root(void); - /* Keep track of trap nesting inside LTT */ //ust// DECLARE_PER_CPU(unsigned int, ltt_nesting); extern unsigned int ltt_nesting; @@ -80,4 +88,4 @@ static inline int ltt_get_alignment(void) } #endif /* defined(CONFIG_LTT) && defined(CONFIG_LTT_ALIGNMENT) */ -#endif /* LTT_CORE_H */ +#endif /* UST_TRACERCORE_H */