diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-04-17 19:44:42 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-04-21 18:00:46 (GMT) |
commit | ad1438a076e275b70d1a04de1364bc483e5a81db (patch) | |
tree | bb2591dcda3d3f51e074058bf1e8174afacb5abd /kernel/trace/trace.c | |
parent | 8275f69f076d8b1ecc6d93305451e5a8f7336d4e (diff) | |
download | linux-ad1438a076e275b70d1a04de1364bc483e5a81db.tar.xz |
tracing: Add static to local functions
This patch adds static to the following functions:
-cycle_t buffer_ftrace_now
-void free_snapshot
-int trace_selftest_startup_dynamic_tracing
Link: http://lkml.kernel.org/p/20140417214442.d7abc7c0b0e4b90e7fedecc9@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index bb5147a5..cb41e98 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -275,7 +275,7 @@ int call_filter_check_discard(struct ftrace_event_call *call, void *rec, } EXPORT_SYMBOL_GPL(call_filter_check_discard); -cycle_t buffer_ftrace_now(struct trace_buffer *buf, int cpu) +static cycle_t buffer_ftrace_now(struct trace_buffer *buf, int cpu) { u64 ts; @@ -599,7 +599,7 @@ static int alloc_snapshot(struct trace_array *tr) return 0; } -void free_snapshot(struct trace_array *tr) +static void free_snapshot(struct trace_array *tr) { /* * We don't free the ring buffer. instead, resize it because |