]> git.baikalelectronics.ru Git - kernel.git/commit
perf sched timehist: Fix use of CPU list with summary option
authorDavid Ahern <dsahern@kernel.org>
Mon, 17 Aug 2020 17:09:42 +0000 (11:09 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Aug 2020 13:22:23 +0000 (10:22 -0300)
commit67dad8b84ee07149f591acf84c44a47815438331
tree5ee37f42826a966c370041555f72f28726843cc2
parentb241c466bae9ff8fe2016ba61b672c6055833a93
perf sched timehist: Fix use of CPU list with summary option

Do not update thread stats or show idle summary unless CPU is in the
list of interest.

Fixes: c8d5bca7a262198a ("perf sched timehist: Add support for filtering on CPU")
Signed-off-by: David Ahern <dsahern@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20200817170943.1486-1-dsahern@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c