diff options
author | Adrian Hunter <[email protected]> | 2013-08-27 11:23:12 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-08-29 16:44:26 -0300 |
commit | b1cf6f65aa7096984836addab7cec6b5b6d4393a (patch) | |
tree | 3277b767bb9744acf84bcbdd67798ab114cb817f /net/lapb/lapb_iface.c | |
parent | d03f2170546d2f0c236a42706d211e15ffb64184 (diff) |
perf tools: Add a function to calculate sample event size
Add perf_event__sample_event_size() which can be used when synthesizing
sample events to determine how big the resulting event will be, and
therefore how much memory to allocate.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions