]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf ui browser hists: Simplify the routines that add entries to the popup menu
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Apr 2025 22:28:30 +0000 (19:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Apr 2025 13:46:47 +0000 (10:46 -0300)
commitfd889776df3b9e0187cf2048c2c5407c8a9c205e
treeba15394ef09aa142c79a4d5d0691f58a7eed6b1c
parent92c48ec231e2e73356418bdece2b8af855cf85b2
perf ui browser hists: Simplify the routines that add entries to the popup menu

Some don't need some args, ditch them, also struct popup_actions->evsel
isn't needed as it is always obtainable from hists_to_evsel(browser->hists).

This way we simplify debugging by reducing this needless complexity.

Tested-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/Z_dkNDj9EPFwPqq1@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c