]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Use struct perf_hpp_fmt::idx in perf_hpp__reset_width
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:02 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 14:13:12 +0000 (11:13 -0300)
commitf55eca4994345f8a74aae54217ca346c567e0286
tree2c2ea70018630748b7f8c6d1fa09f516372e637a
parent2586fc1290f38600609b9d9759f2ae0868857b60
perf hists: Use struct perf_hpp_fmt::idx in perf_hpp__reset_width

We are going to add dynamic hpp format fields, so we need to make the
'len' change for the format itself, not in the perf_hpp__format
template.

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-5-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c