diff options
author | Daniel Bristot de Oliveira <bristot@redhat.com> | 2021-06-28 12:45:47 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-06-28 21:12:26 +0300 |
commit | f7d9f6370e006400655ff96cb148f56598492d91 (patch) | |
tree | ca4b07ecd8be5a60ebf2a1c8751676ea51c42c92 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b96285e10aad234acfa0628f7e8336990f778c03 (diff) | |
download | linux-f7d9f6370e006400655ff96cb148f56598492d91.tar.xz |
trace/osnoise: Fix 'no previous prototype' warnings
kernel test robot reported some osnoise functions with "no previous
prototype."
Fix these warnings by making local functions static, and by adding:
void osnoise_trace_irq_entry(int id);
void osnoise_trace_irq_exit(int id, const char *desc);
to include/linux/trace.h.
Link: https://lkml.kernel.org/r/e40d3cb4be8bde921f4b40fa6a095cf85ab807bd.1624872608.git.bristot@redhat.com
Fixes: bce29ac9ce0b ("trace: Add osnoise tracer")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions