/*
* Copyright (C) 2009 Steven Rostedt <srostedt@redhat.com>
* Copyright (C) 2010 Nils Carlson <nils.carlson@ericsson.com>
/*
* Copyright (C) 2009 Steven Rostedt <srostedt@redhat.com>
* Copyright (C) 2010 Nils Carlson <nils.carlson@ericsson.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* 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
* 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
* Stage 1. Create a struct and a printf calling function
* that is connected to the tracepoint at load time.
*/
* Stage 1. Create a struct and a printf calling function
* that is connected to the tracepoint at load time.
*/
-#undef TRACE_EVENT
-#define TRACE_EVENT(name, proto, args, tstruct, assign, print) \
- DECLARE_TRACE_EVENT_CLASS(name, \
+#undef TRACEPOINT_EVENT
+#define TRACEPOINT_EVENT(name, proto, args, tstruct, assign, print) \
+ DECLARE_TRACEPOINT_EVENT_CLASS(name, \
- DEFINE_TRACE_EVENT(name, name, TP_PARAMS(proto), TP_PARAMS(args));
+ DEFINE_TRACEPOINT_EVENT(name, name, TP_PARAMS(proto), TP_PARAMS(args));
-#undef DEFINE_TRACE_EVENT
-#define DEFINE_TRACE_EVENT(template, name, proto, args)
+#undef DEFINE_TRACEPOINT_EVENT
+#define DEFINE_TRACEPOINT_EVENT(template, name, proto, args)
-#undef DECLARE_TRACE_EVENT_CLASS
-#define DECLARE_TRACE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \
+#undef DECLARE_TRACEPOINT_EVENT_CLASS
+#define DECLARE_TRACEPOINT_EVENT_CLASS(name, proto, args, tstruct, assign, print) \