diff options
author | Namhyung Kim <[email protected]> | 2014-01-07 17:02:25 +0900 |
---|---|---|
committer | Jiri Olsa <[email protected]> | 2014-06-01 14:35:05 +0200 |
commit | 9d3c02d7188866299eebe3c4a652c08140a71f40 (patch) | |
tree | 1a45d4db4976bb33a0f315d24f6fa7f70aef1c66 /lib/test-string_helpers.c | |
parent | 2bf1a12340bda1bf621f27b9892094a51b1297fd (diff) |
perf tools: Add callback function to hist_entry_iter
The new ->add_entry_cb() will be called after an entry was added to
the histogram. It's used for code sharing between perf report and
perf top. Note that ops->add_*_entry() should set iter->he properly
in order to call the ->add_entry_cb.
Also pass @arg to the callback function. It'll be used by perf top
later.
Signed-off-by: Namhyung Kim <[email protected]>
Tested-by: Arun Sharma <[email protected]>
Tested-by: Rodrigo Campos <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions