commit | c8232f94b88c0b9ea62399fa5abe5a5a34d35c40 | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jun 08 09:10:40 2011 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jun 08 09:10:40 2011 +0000 |
tree | f95b522aba5549428e95671ef186f9aa1fd6872c | |
parent | b0473e965b531ad8497bcae50f47c0c7e6a4fd9a [diff] |
It seems that the perf_counter_open system call was renamed to perf_event_open some time after we added it, so correct the name wherever it appears to match the current kernel source. Also fixup the PRE handler to do the check correctly, using the size field of the structure to work out how much data there is. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11804 a5019735-40e9-0310-863c-91ae7b9d1cf9