perf hists: Introduce hist_entry_ops
authorJiri Olsa <jolsa@kernel.org>
Tue, 5 Jul 2016 06:56:04 +0000 (08:56 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 03:00:39 +0000 (00:00 -0300)
commitf542e7670e48bc9d0aed351c1fd2ae0b65cc6f68
tree465c63ef93a84bfee9368fd4a10ff0f9d9c2d2c0
parent0a269a6bb3f86abb218b8632f13c4ecd9b6b92af
perf hists: Introduce hist_entry_ops

Introducing allocation callbacks, that allows to extend current
hist_entry object into objects with special needs without polluting the
current hist_entry object.

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