Skip to content

Commit

Permalink
tracing: Rename trace/ftrace.h to trace/trace_events.h
Browse files Browse the repository at this point in the history
The name "ftrace" really refers to the function hook infrastructure. It
is not about the TRACE_EVENT() macros. The file trace/ftrace.h was originally
written to be mostly focused toward the "ftrace" code (that in kernel/trace/)
but ended up being generic and used by perf and others.

Rename the file to be less confusing about what infrastructure it belongs to.

Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
rostedt committed May 13, 2015
1 parent f267caa commit 2167ae7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trace/define_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
#define DECLARE_TRACE(name, proto, args)

#ifdef CONFIG_EVENT_TRACING
#include <trace/ftrace.h>
#include <trace/trace_events.h>
#endif

#undef TRACE_EVENT
Expand Down
File renamed without changes.

0 comments on commit 2167ae7

Please sign in to comment.