diff options
| author | Peter Zijlstra <[email protected]> | 2010-05-20 16:46:39 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-05-21 11:37:59 +0200 |
| commit | 5d967a8be636a4f301a8daad642bd1007299d9ec (patch) | |
| tree | a55fa9c068f4a25a0de62797994353a36e165ca5 /include/linux | |
| parent | adb8e118f288dc4c569ac9a89010b81a4745fbf0 (diff) | |
perf: Optimize perf_output_copy()
Reduce the clutter in perf_output_copy() by keeping
an interator in perf_output_handle.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/perf_event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 7098ebbb3b3a..7bd17f0488f8 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -806,6 +806,9 @@ struct perf_output_handle { unsigned long head; unsigned long offset; unsigned long wakeup; + unsigned long size; + void *addr; + int page; int nmi; int sample; }; |