]> git.baikalelectronics.ru Git - kernel.git/commit
perf report TUI: Remove needless 'dummy' event from menu
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Jul 2020 12:29:57 +0000 (09:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jul 2020 12:24:02 +0000 (09:24 -0300)
commit84787f5509484439adf027489cb3358998a4757a
tree67efe2fffa07bef041cbf38f8e26ef61a415775b
parented88940f3a6989f4208b153b293da65f2660da55
perf report TUI: Remove needless 'dummy' event from menu

Fixing the common case of:

  perf record
  perf report

And getting just the cycles events.

We now have a 'dummy' event to get perf metadata events that take place
while we synthesize metadata records for pre-existing processes by
traversing procfs, so we always have this extra 'dummy' evsel, but we
don't have to offer it as there will be no samples on it, remove this
distraction.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/20200706115452.GA2772@redhat.com/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c