aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2019-08-22 00:51:50 -0700
committerPaul Walmsley <[email protected]>2019-10-29 11:32:18 -0700
commit31738ede9b339c90216b8fd10da0b1567a041f06 (patch)
tree7dc501804afb05a31fbf29f90091a33cf75b14af /tools/perf/util/trace-event-scripting.c
parent6384423f49c804dbca02add1945e0ccf922cb522 (diff)
RISC-V: Issue a local tlbflush if possible.
In RISC-V, tlb flush happens via SBI which is expensive. If the local cpu is the only cpu in cpumask, there is no need to invoke a SBI call. Just do a local flush and return. Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions