• Dustin Brown's avatar
    arm64: Export save_stack_trace_tsk() · e27c7fa0
    Dustin Brown authored
    The kernel watchdog is a great debugging tool for finding tasks that
    consume a disproportionate amount of CPU time in contiguous chunks. One
    can imagine building a similar watchdog for arbitrary driver threads
    using save_stack_trace_tsk() and print_stack_trace(). However, this is
    not viable for dynamically loaded driver modules on ARM platforms
    because save_stack_trace_tsk() is not exported for those architectures.
    Export save_stack_trace_tsk() for the ARM64 architecture to align with
    x86 and support various debugging use cases such as arbitrary driver
    thread watchdog timers.
    Signed-off-by: default avatarDustin Brown <dustinb@codeaurora.org>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    e27c7fa0
stacktrace.c 5.53 KB