]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Cleanup filtering functions
authorNamhyung Kim <namhyung@kernel.org>
Wed, 20 Jan 2016 01:15:21 +0000 (10:15 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Jan 2016 14:52:45 +0000 (11:52 -0300)
commitc5fd14c215e1d12b25d48abb429598953bc82cc6
treea394dc183e1ce12df0736e7733ef7ace04498586
parent2f40be8c3148f88138517a80513da88a7803a230
perf hists: Cleanup filtering functions

The hists__filter_by_xxx functions share same logic with different
filters.  Factor out the common code into the hists__filter_by_type.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1453252521-24398-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c