1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

systemtap: Upgrade to 2.6 Git Version

Remove backported patch

(From OE-Core rev: 89a900cb356504bc56e507412adaf5a0d5043ac9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2014-11-06 16:19:33 -08:00
committed by Richard Purdie
parent 58c76d143d
commit afd7e24c42
2 changed files with 2 additions and 25 deletions
@@ -1,22 +0,0 @@
systemtap: Fixed probe syscall.sendfile failure
compat_sendfile syscall is unavailable in kernels starting version 3.8.
Hence systemtap scripts like 'probe syscall.* { if (target()==pid()) log(name." ".argstr) }' fail.
This problem is solved by marking __syscall.compat_sendfile as optional in tapset/linux/syscalls2.stp
Upstream-Status: Pending
Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
diff -Naur old/tapset/linux/syscalls2.stp new/tapset/linux/syscalls2.stp
--- old/tapset/linux/syscalls2.stp 2014-04-21 01:28:41.000000000 -0500
+++ new/tapset/linux/syscalls2.stp 2014-04-21 01:38:14.961233914 -0500
@@ -1953,7 +1953,7 @@
# COMPAT_SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd,
# compat_loff_t __user *, offset, compat_size_t, count)
#
-probe syscall.sendfile = __syscall.sendfile, __syscall.compat_sendfile
+probe syscall.sendfile = __syscall.sendfile, __syscall.compat_sendfile ?
{
name = "sendfile"
out_fd = __int32($out_fd)
@@ -1,13 +1,12 @@
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRCREV = "8f0fcd995f7f650a2ee0a94539f90c99e6d19e1d"
PV = "2.5+git${SRCPV}"
SRCREV = "7682e51d2e11a35b2977ba9a85ab42f326b8ff8f"
PV = "2.6+git${SRCPV}"
SRC_URI = "git://sourceware.org/git/systemtap.git \
file://docproc-build-fix.patch \
file://obsolete_automake_macros.patch \
file://system_map_location.patch \
file://tapset-linux-sendfile-syscall.patch \
file://configure-allow-to-disable-libvirt.patch \
"