lkml.org 
[lkml]   [2022]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v4 06/18] arm64: stacktrace: Add description of stacktrace/common.h
    From
    Add brief description on how to use stacktrace/common.h to implement
    a stack unwinder.

    Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
    ---
    arch/arm64/include/asm/stacktrace/common.h | 8 ++++++++
    1 file changed, 8 insertions(+)

    diff --git a/arch/arm64/include/asm/stacktrace/common.h b/arch/arm64/include/asm/stacktrace/common.h
    index f86efe71479d..b362086f4c70 100644
    --- a/arch/arm64/include/asm/stacktrace/common.h
    +++ b/arch/arm64/include/asm/stacktrace/common.h
    @@ -2,6 +2,14 @@
    /*
    * Common arm64 stack unwinder code.
    *
    + * To implement a new arm64 stack unwinder:
    + * 1) Include this header
    + *
    + * 2) Provide implementations for the following functions:
    + * - on_overflow_stack()
    + * - on_accessible_stack()
    + * - unwind_next()
    + *
    * Copyright (C) 2012 ARM Ltd.
    */
    #ifndef __ASM_STACKTRACE_COMMON_H
    --
    2.37.0.170.g444d1eabd0-goog
    \
     
     \ /
      Last update: 2022-07-15 08:11    [W:4.095 / U:0.552 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site