summaryrefslogtreecommitdiffstats
path: root/include/trace/trace_events.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat)2015-05-13 21:33:52 +0200
committerSteven Rostedt2015-05-14 03:48:58 +0200
commit62323a148fbeb0258be2c92854d758572bee2a46 (patch)
tree2a563e6f986afd460ff1e08eba314524c571af31 /include/trace/trace_events.h
parenttracing: Rename ftrace_raw_##call event structures to trace_event_raw_##call (diff)
downloadkernel-qcow2-linux-62323a148fbeb0258be2c92854d758572bee2a46.tar.gz
kernel-qcow2-linux-62323a148fbeb0258be2c92854d758572bee2a46.tar.xz
kernel-qcow2-linux-62323a148fbeb0258be2c92854d758572bee2a46.zip
tracing: Rename ftrace_data_offset_##call to trace_event_data_offset_##call
The name "ftrace" really refers to the function hook infrastructure. It is not about the trace_events. The structure ftrace_data_offset_##call is used to find the offsets of dynamically allocated fields in trace_events. It has nothing to do with function tracing. Rename it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/trace_events.h')
-rw-r--r--include/trace/trace_events.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h
index 0e9519d5eacb..18c7c0248aeb 100644
--- a/include/trace/trace_events.h
+++ b/include/trace/trace_events.h
@@ -138,7 +138,7 @@ TRACE_MAKE_SYSTEM_STR();
*
* Include the following:
*
- * struct ftrace_data_offsets_<call> {
+ * struct trace_event_data_offsets_<call> {
* u32 <item1>;
* u32 <item2>;
* [...]
@@ -178,7 +178,7 @@ TRACE_MAKE_SYSTEM_STR();
#undef DECLARE_EVENT_CLASS
#define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
- struct ftrace_data_offsets_##call { \
+ struct trace_event_data_offsets_##call { \
tstruct; \
};
@@ -486,7 +486,7 @@ ftrace_define_fields_##call(struct trace_event_call *event_call) \
#undef DECLARE_EVENT_CLASS
#define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
static inline notrace int ftrace_get_offsets_##call( \
- struct ftrace_data_offsets_##call *__data_offsets, proto) \
+ struct trace_event_data_offsets_##call *__data_offsets, proto) \
{ \
int __data_size = 0; \
int __maybe_unused __item_length; \