aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPalmer Dabbelt <[email protected]>2018-10-02 19:15:00 +0000
committerPalmer Dabbelt <[email protected]>2018-10-23 00:03:36 +0000
commitb2f8cfa7ac34202e5fd9551b6507fcd424634c1b (patch)
tree7ff1b30055d02863fc69ef3b0295ded9e77d6d6b /tools/perf/scripts/python/check-perf-trace.py
parentRISC-V: Provide a cleaner raw_smp_processor_id() (diff)
downloadkernel-b2f8cfa7ac34202e5fd9551b6507fcd424634c1b.tar.gz
kernel-b2f8cfa7ac34202e5fd9551b6507fcd424634c1b.zip
RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid
It's a bit confusing exactly what this function does: it actually returns the hartid of an OF processor node, failing with -1 on invalid nodes. I've changed the name to _hartid() in order to make that a bit more clear, as well as adding a comment. Signed-off-by: Palmer Dabbelt <[email protected]> [Atish: code comment formatting update] Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions