aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-04-06 23:52:54 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-07 00:53:57 +0000
commit330f40a0d951d7f23995ccbfeea9be7282942e93 (patch)
tree127b0d1a529c3e9b34bb2be48f8ae4cde4590399 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf lock contention: Do not try to update if hash map is full (diff)
downloadkernel-330f40a0d951d7f23995ccbfeea9be7282942e93.tar.gz
kernel-330f40a0d951d7f23995ccbfeea9be7282942e93.zip
perf pmu: Fewer const casts
struct pmu_event has const char*s, only unit needs to be non-const for the sake of passing as an out argument to strtod(). Reduce the const casts from 4 down to 1. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Rob Herring <[email protected]> Cc: Sean Christopherson <[email protected]> Cc: Suzuki Poulouse <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions