diff options
author | Ian Rogers <irogers@google.com> | 2024-04-15 23:15:32 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-04-26 22:07:21 -0300 |
commit | bb65ff7810b654beb498e7afb4a4688e6ddf0340 (patch) | |
tree | 73d77f86e73d6715262a2981220c2973bb1160f6 /tools/perf/builtin-annotate.c | |
parent | afd876bbdc97664257523bb5f2dcedbb5cef40d0 (diff) | |
download | linux-bb65ff7810b654beb498e7afb4a4688e6ddf0340.tar.gz linux-bb65ff7810b654beb498e7afb4a4688e6ddf0340.tar.bz2 linux-bb65ff7810b654beb498e7afb4a4688e6ddf0340.zip |
perf parse-events: Tidy the setting of the default event name
Add comments. Pass ownership of the event name to save on a strdup.
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Tested-by: Atish Patra <atishp@rivosinc.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Beeman Strong <beeman@rivosinc.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>
Link: https://lore.kernel.org/r/20240416061533.921723-17-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions