lkml.org 
[lkml]   [2012]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[GIT PULL] UAPI: perf fixes
Date

Hi Arnaldo,

Assuming my patches should be based on your perf/core branch, could you pull
from my git tree at tag perf-uapi-20121108 into your perf/core branch?

Note the tree also contains a uapi-perf-x86-20121108 tag that has the UAPI
disintegration branch for x86 merged on top for reference.

There are six commits, three preliminary patches:

(1) A patch to export asm/svm.h, asm/vmx.h and asm/perf_regs.h to UAPI.

(2) A merge for (1) - the patch in (1) is premerged by the UAPI disintegration
for x86 also, and I'd rather not include your perf/core branch in that if
I can avoid it.

(3) A patch to export and disintegrate linux/hw_breakpoint.h. It looks like
it should perhaps have been exported already, given the __KERNEL__ markers
in it.

and then the main three patches:

(4) Use a makefile $(call ...) function in tools/Makefile to make it easier
to deal with.

(5) Fix handling of O= with a relative path when doing something like:

make tools/perf O=foo

from the top-level directory in the kernel source tree for all tools.

(6) Make perf work for x86 by adding -I flags and changing long #includes
with "../../include" in them into short <asm/foo.h> type things.

David
---
The following changes since commit 8dfec403e39b7c37fd6e8813bacc01da1e1210ab:

perf tests: Removing 'optional' field (2012-11-05 14:03:59 -0300)

are available in the git repository at:

git://git.infradead.org/users/dhowells/linux-headers.git tags/perf-uapi-20121108

for you to fetch changes up to 028c2c390c71d3d37f91291ac8e827f5028f7975:

perf: Make perf build for x86 with UAPI disintegration applied (2012-11-08 11:55:58 +0000)

----------------------------------------------------------------
perf fixes 2012-11-08

----------------------------------------------------------------
David Howells (6):
x86: Export asm/{svm.h,vmx.h,perf_regs.h}
UAPI: Merge pre-disintegration bits for x86
UAPI: Export and disintegrate linux/hw_breakpoint.h
tools: Define a Makefile function to do subdir processing
tools: Honour the O= flag when tool build called from a higher Makefile
perf: Make perf build for x86 with UAPI disintegration applied

Makefile | 6 ++++--
arch/x86/include/asm/Kbuild | 3 +++
include/linux/hw_breakpoint.h | 31 +------------------------------
include/uapi/linux/Kbuild | 1 +
include/uapi/linux/hw_breakpoint.h | 30 ++++++++++++++++++++++++++++++
tools/Makefile | 24 ++++++++++++------------
tools/perf/Makefile | 28 +++++++++++++++++++++++++++-
tools/perf/arch/x86/include/perf_regs.h | 2 +-
tools/perf/builtin-kvm.c | 6 +++---
tools/perf/perf.h | 16 +++-------------
tools/perf/tests/builtin-test.c | 2 +-
tools/perf/tests/parse-events.c | 2 +-
tools/perf/util/evsel.c | 4 ++--
tools/perf/util/evsel.h | 2 +-
tools/perf/util/header.h | 2 +-
tools/perf/util/parse-events.c | 2 +-
tools/perf/util/parse-events.h | 2 +-
tools/perf/util/pmu.h | 2 +-
tools/perf/util/session.h | 2 +-
tools/scripts/Makefile.include | 23 ++++++++++++++++++++---
20 files changed, 115 insertions(+), 75 deletions(-)
create mode 100644 include/uapi/linux/hw_breakpoint.h


\
 
 \ /
  Last update: 2012-11-08 14:41    [W:0.132 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site