History

function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h

ftrace_graph_entry_stub() is defined in generic code, its prototype should be in the generic header and not defined throughout architecture specific code in order to use it.

Steven Rostedt (VMware) committed 7 years ago

Commit e8025ba1 parent 52fde6e3 files · +2 −2Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/ftrace.h+2−0
@@ -751,6 +751,8 @@ struct ftrace_graph_ret { · 750 unmodified lines
751typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); /* return */751typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); /* return */
752typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); /* entry */752typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); /* entry */
753 753
754extern int ftrace_graph_entry_stub(struct ftrace_graph_ent *trace);
755
754#ifdef CONFIG_FUNCTION_GRAPH_TRACER756#ifdef CONFIG_FUNCTION_GRAPH_TRACER
755 757
756struct fgraph_ops {758struct fgraph_ops {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t