Skip to content
  • Mao Han's avatar
    cfa4d93b
    csky: Add perf callchain support · cfa4d93b
    Mao Han authored
    
    
    This patch add support for perf callchain sampling on csky platform.
    As fp is used to unwind the stack, the program being sampled and the
    C library need to be compiled with -mbacktrace for user callchains,
    kernel callchains require CONFIG_STACKTRACE = y.
    
    Changelog:
     - Coding convention with Christoph's advice for riscv's.
    
    Signed-off-by: default avatarMao Han <han_mao@c-sky.com>
    Signed-off-by: default avatarGuo Ren <ren_guo@c-sky.com>
    Cc: Christoph Hellwig <hch@infradead.org>
    cfa4d93b
    csky: Add perf callchain support
    Mao Han authored
    
    
    This patch add support for perf callchain sampling on csky platform.
    As fp is used to unwind the stack, the program being sampled and the
    C library need to be compiled with -mbacktrace for user callchains,
    kernel callchains require CONFIG_STACKTRACE = y.
    
    Changelog:
     - Coding convention with Christoph's advice for riscv's.
    
    Signed-off-by: default avatarMao Han <han_mao@c-sky.com>
    Signed-off-by: default avatarGuo Ren <ren_guo@c-sky.com>
    Cc: Christoph Hellwig <hch@infradead.org>
Loading