]> 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)
commitee1db623edcd4fd71694e572b82a032d0f889306
treea499753a085083b2b6599ded1aadae8fce74aabe
parenta12ddf7e7bd11d8b69a0f412aeb9b5884924b13e
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