]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Allocate output sort field
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:07 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:07 +0000 (12:24 -0300)
commit135c9f872d52874c6d04bf61390b683cb11010b6
treed6c2de181e6215f219045e81b16ca65e3fb37b2e
parente99bec08dd6d4a4a620ffba5010faeddeef570ae
perf hists: Allocate output sort field

Currently we use static output fields, because we have single global
list of all sort/output fields.

We will add hists specific sort and output lists in following patches,
so we need all format entries to be dynamically allocated. Adding
support to allocate output sort field.

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