aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2016-07-05 06:56:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-07-12 03:00:39 +0000
commit0a269a6bb3f86abb218b8632f13c4ecd9b6b92af (patch)
treee924bc0560aaa758b0721b1c30f1d9b0b4384fc2 /tools/perf/tests/bpf-script-example.c
parentRevert "perf/x86/intel, watchdog: Switch NMI watchdog to ref cycles on x86" (diff)
downloadkernel-0a269a6bb3f86abb218b8632f13c4ecd9b6b92af.tar.gz
kernel-0a269a6bb3f86abb218b8632f13c4ecd9b6b92af.zip
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 <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions