Skip to content
Snippets Groups Projects
Select Git revision
  • e447e1df2e568cd43d1918963c9f09fae85aea57
  • linus-master default
  • kunit_is_love
  • kunit_drm
  • tonyk/futex_waitv
  • hidraw_rwlock
  • futex_waitv
  • futex2-dev
  • idle_sleep
  • futex2-proton
  • futex-tests
  • futex2
  • futex2-numa
  • fwm-5.11
  • cf-fix
  • tmpfs-ic
  • futex2-stable-5.11
  • futex2-stable
  • futex2-lpc
  • gaming
  • futex-fixes
21 results

trace_stack.c

  • Steven Rostedt's avatar
    e447e1df
    tracing: explain why stack tracer is empty · e447e1df
    Steven Rostedt authored
    
    If the stack tracing is disabled (by default) the stack_trace file
    will only contain the header:
    
     # cat /debug/tracing/stack_trace
            Depth    Size      Location    (0 entries)
            -----    ----      --------
    
    This can be frustrating to a developer that does not realize that the
    stack tracer is disabled. This patch adds the following text:
    
      # cat /debug/tracing/stack_trace
            Depth    Size      Location    (0 entries)
            -----    ----      --------
     #
     #  Stack tracer disabled
     #
     # To enable the stack tracer, either add 'stacktrace' to the
     # kernel command line
     # or 'echo 1 > /proc/sys/kernel/stack_tracer_enabled'
     #
    
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    e447e1df
    History
    tracing: explain why stack tracer is empty
    Steven Rostedt authored
    
    If the stack tracing is disabled (by default) the stack_trace file
    will only contain the header:
    
     # cat /debug/tracing/stack_trace
            Depth    Size      Location    (0 entries)
            -----    ----      --------
    
    This can be frustrating to a developer that does not realize that the
    stack tracer is disabled. This patch adds the following text:
    
      # cat /debug/tracing/stack_trace
            Depth    Size      Location    (0 entries)
            -----    ----      --------
     #
     #  Stack tracer disabled
     #
     # To enable the stack tracer, either add 'stacktrace' to the
     # kernel command line
     # or 'echo 1 > /proc/sys/kernel/stack_tracer_enabled'
     #
    
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>