aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-04-06 16:52:54 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-06 21:53:57 -0300
commit330f40a0d951d7f23995ccbfeea9be7282942e93 (patch)
tree127b0d1a529c3e9b34bb2be48f8ae4cde4590399 /tools/perf/scripts/python/task-analyzer.py
parent222de5e53926252bf8815751ba555778cf8ff6ca (diff)
downloadlinux-330f40a0d951d7f23995ccbfeea9be7282942e93.tar.gz
linux-330f40a0d951d7f23995ccbfeea9be7282942e93.tar.bz2
linux-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 <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Rob Herring <robh@kernel.org> Cc: Sean Christopherson <seanjc@google.com> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230406235256.2768773-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions