rpms/kernel/F-12 perf-make-perf-counter-h-available-to-userspace.patch, NONE, 1.1 kernel.spec, 1.1856, 1.1857
Chuck Ebbert
cebbert at fedoraproject.org
Sun Oct 11 02:23:14 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23244
Modified Files:
kernel.spec
Added Files:
perf-make-perf-counter-h-available-to-userspace.patch
Log Message:
Make performance counter API available to userspace programs (#527264)
perf-make-perf-counter-h-available-to-userspace.patch:
Kbuild | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE perf-make-perf-counter-h-available-to-userspace.patch ---
Make performance counter ABI definitions available to userspace.
For 2.6.31 only. The userspace parts are in perf_event.h in 2.6.32.
--- linux-2.6.31.noarch.orig/include/linux/Kbuild
+++ linux-2.6.31.noarch/include/linux/Kbuild
@@ -126,6 +126,7 @@ header-y += nfs_mount.h
header-y += nl80211.h
header-y += param.h
header-y += pci_regs.h
+header-y += perf_counter.h
header-y += pfkeyv2.h
header-y += pg.h
header-y += phantom.h
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-12/kernel.spec,v
retrieving revision 1.1856
retrieving revision 1.1857
diff -u -p -r1.1856 -r1.1857
--- kernel.spec 11 Oct 2009 01:35:11 -0000 1.1856
+++ kernel.spec 11 Oct 2009 02:23:13 -0000 1.1857
@@ -742,6 +742,9 @@ Patch13000: linux-2.6-frace-fixes.patch
# Raid10 lockdep fix
Patch14002: linux-2.6-raidlockdep.patch
+# make perf counter API available to userspace (#527264)
+Patch14010: perf-make-perf-counter-h-available-to-userspace.patch
+
%endif
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1383,6 +1386,9 @@ ApplyPatch linux-2.6-frace-fixes.patch
# Raid10 lockdep fix
ApplyPatch linux-2.6-raidlockdep.patch
+# make perf counter API available to userspace (#527264)
+ApplyPatch perf-make-perf-counter-h-available-to-userspace.patch
+
# END OF PATCH APPLICATIONS
%endif
@@ -2039,6 +2045,9 @@ fi
# and build.
%changelog
+* Sat Oct 10 2009 Chuck Ebbert <cebbert at redhat.com>
+- Make performance counter API available to userspace programs (#527264)
+
* Sat Oct 10 2009 Dave Jones <davej at redhat.com>
- Drop the NX kernel data patch for now. Causes no-boot on some systems.
More information about the fedora-extras-commits
mailing list