]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix hist_entry__filter() for hierarchy
authorNamhyung Kim <namhyung@kernel.org>
Wed, 9 Mar 2016 13:46:56 +0000 (22:46 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Mar 2016 19:45:36 +0000 (16:45 -0300)
commit9cc7538d21756c681513cd9c4765dbc82a069f0f
treea499753a085083b2b6599ded1aadae8fce74aabe
parent071381f206ae684eb7c11eb9e2918570cdc6abb4
perf tools: Fix hist_entry__filter() for hierarchy

When hierarchy mode is enabled each output format is in a separate hpp
list.  So when applying a filter it should check all formats in the
list.  Currently it only checks a single ->fmt field which was not set
properly.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1457531222-18130-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c