diff options
| author | Stephane Eranian <[email protected]> | 2012-02-09 16:12:38 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-02-13 23:35:04 -0200 |
| commit | 7e1ccd3804281fc0755eb726b654469c40a96d89 (patch) | |
| tree | dd262703dfc95983c4a8308b5f40fb41b404a1a6 /tools/perf/scripts/python/sctop.py | |
| parent | f1c67db7e351bf9fd328e368ba045cbeca11d513 (diff) | |
perf tools: cleanup initialization of attr->size
The perf_event_attr size needs to be initialized in all cases because it
captures the ABI version.
This patch moves the initialization of the field from the
perf_event_open() syscall stub to its proper location in the
event_attr_init().
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/20120209151238.GA10272@quad
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions