]> asedeno.scripts.mit.edu Git - linux.git/commit
perf hists: Add __hist_entry__snprintf function
authorJiri Olsa <jolsa@kernel.org>
Thu, 22 Sep 2016 15:36:29 +0000 (17:36 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Sep 2016 16:08:56 +0000 (13:08 -0300)
commit9da44db1493a9d384ddc1bcd1553a1803ff985b6
tree55767da5d73cd2edb78e7b17605d056880a64140
parent3becf4525d9c0fb9cf8ff657b2aec1c733bc742f
perf hists: Add __hist_entry__snprintf function

Add __hist_entry__snprintf() to take a perf_hpp_list as an argument
instead of using he->hists->hpp_list.

This way we can display arbitrary list of entries regardless of the
hists setup, which will be useful in the upcoming c2c patch series.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1474558645-19956-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/stdio/hist.c