Skip to content

Commit efde97a

Browse files
Yue Haibingrostedt
authored andcommitted
tracing: Remove unused function declarations
Commit 9457158 ("tracing: Fix reset of time stamps during trace_clock changes") left behind tracing_reset_current() declaration. Also commit 6954e41 ("tracing: Place trace_pid_list logic into abstract functions") removed trace_free_pid_list() implementation but leave declaration. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: <[email protected]> Signed-off-by: Yue Haibing <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent fa828ef commit efde97a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/trace/trace.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ trace_buffer_iter(struct trace_iterator *iter, int cpu)
604604
int tracer_init(struct tracer *t, struct trace_array *tr);
605605
int tracing_is_enabled(void);
606606
void tracing_reset_online_cpus(struct array_buffer *buf);
607-
void tracing_reset_current(int cpu);
608607
void tracing_reset_all_online_cpus(void);
609608
void tracing_reset_all_online_cpus_unlocked(void);
610609
int tracing_open_generic(struct inode *inode, struct file *filp);
@@ -705,7 +704,6 @@ void trace_filter_add_remove_task(struct trace_pid_list *pid_list,
705704
void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos);
706705
void *trace_pid_start(struct trace_pid_list *pid_list, loff_t *pos);
707706
int trace_pid_show(struct seq_file *m, void *v);
708-
void trace_free_pid_list(struct trace_pid_list *pid_list);
709707
int trace_pid_write(struct trace_pid_list *filtered_pids,
710708
struct trace_pid_list **new_pid_list,
711709
const char __user *ubuf, size_t cnt);

0 commit comments

Comments
 (0)