1. 03 4月, 2018 3 次提交
  2. 31 1月, 2018 1 次提交
    • A
      riscv/ftrace: Add basic support · 10626c32
      Alan Kao 提交于
      This patch contains basic ftrace support for RV64I platform.
      Specifically, function tracer (HAVE_FUNCTION_TRACER), function graph
      tracer (HAVE_FUNCTION_GRAPH_TRACER), and a frame pointer test
      (HAVE_FUNCTION_GRAPH_FP_TEST) are implemented following the
      instructions in Documentation/trace/ftrace-design.txt.
      
      Note that the functions in both ftrace.c and setup.c should not be
      hooked with the compiler's -pg option: to prevent infinite self-
      referencing for the former, and to ignore early setup stuff for the
      latter.
      Signed-off-by: NAlan Kao <alankao@andestech.com>
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      10626c32