Skip to content
  • Hannes Eder's avatar
    tracing: fix sparse warnings: make symbols static · 4fd27358
    Hannes Eder authored
    
    
    Impact: make global variables and a global function static
    
    The function '__trace_userstack' does not seem to have a caller, so it
    is commented out.
    
    Fix this sparse warnings:
      kernel/trace/trace.c:82:5: warning: symbol 'tracing_disabled' was not declared. Should it be static?
      kernel/trace/trace.c:600:10: warning: symbol 'trace_record_cmdline_disabled' was not declared. Should it be static?
      kernel/trace/trace.c:957:6: warning: symbol '__trace_userstack' was not declared. Should it be static?
      kernel/trace/trace.c:1694:5: warning: symbol 'tracing_release' was not declared. Should it be static?
    
    Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    4fd27358