perf hists: Add 'equal' method to perf_hpp_fmt struct
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:03 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 14:13:12 +0000 (11:13 -0300)
commit97358084b91e94e5f8fcf0379f0430c0ea16bd3b
treef769d11e5e088910bce0b09522bff395d0e166bc
parent2e8b79e706f504801fbce19fa9f16f3c858a105e
perf hists: Add 'equal' method to perf_hpp_fmt struct

To easily compare format entries and make it available for all kinds of
format entries.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1453109064-1026-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c
tools/perf/util/hist.h
tools/perf/util/sort.c