]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f5dfe8307a7ca5ccca62226ffe9f2a7de6ef670
tree465c63ef93a84bfee9368fd4a10ff0f9d9c2d2c0
parentc26364c57b7de79790f6faa7913ef4ed04f1a625
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