]> git.ipfire.org Git - thirdparty/valgrind.git/commit
It seems that the perf_counter_open system call was renamed to
authorTom Hughes <tom@compton.nu>
Wed, 8 Jun 2011 09:10:40 +0000 (09:10 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 8 Jun 2011 09:10:40 +0000 (09:10 +0000)
commit912fe515535ef68639c412dbcb721aa2436c9957
treef95b522aba5549428e95671ef186f9aa1fd6872c
parent532b65e3377054c3e3d49010f8379afae3804903
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
coregrind/m_syswrap/priv_syswrap-linux.h
coregrind/m_syswrap/syswrap-amd64-linux.c
coregrind/m_syswrap/syswrap-linux.c
coregrind/m_syswrap/syswrap-ppc32-linux.c
coregrind/m_syswrap/syswrap-ppc64-linux.c
coregrind/m_syswrap/syswrap-x86-linux.c
include/vki/vki-linux.h
include/vki/vki-scnums-amd64-linux.h
include/vki/vki-scnums-ppc32-linux.h
include/vki/vki-scnums-ppc64-linux.h
include/vki/vki-scnums-x86-linux.h