diff options
| author | Ian Rogers <[email protected]> | 2023-04-06 23:52:54 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-07 00:53:57 +0000 |
| commit | 330f40a0d951d7f23995ccbfeea9be7282942e93 (patch) | |
| tree | 127b0d1a529c3e9b34bb2be48f8ae4cde4590399 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf lock contention: Do not try to update if hash map is full (diff) | |
| download | kernel-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
