diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-07-05 06:56:03 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 03:00:39 (GMT) |
commit | 0a269a6bb3f86abb218b8632f13c4ecd9b6b92af (patch) | |
tree | e924bc0560aaa758b0721b1c30f1d9b0b4384fc2 /crypto | |
parent | 44530d588e142a96cf0cd345a7cb8911c4f88720 (diff) | |
download | linux-0a269a6bb3f86abb218b8632f13c4ecd9b6b92af.tar.xz |
perf hists: Introduce hist_entry__init function
Move the 'struct hist_entry' initialization code to a separate function.
It'll be useful and more clear for the following patches that introduce
allocation callbacks.
Releasing the hist_entry object in hist_entry__new function
(where it's allocated) rather than in hist_entry__init.
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-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions