[GIT PULL 0/2] Two extra perf/urgent fixes

From: Arnaldo Carvalho de Melo
Date: Thu Jul 09 2015 - 17:15:13 EST


Hi Ingo,

Please consider pulling, a fallout from removing linux/export.h
when copying rbtree.c and removing kernel specific stuff (EXPORT_SYMBOL),
this is on top of my previous perf-urgent-for-mingo pull req.

- Arnaldo

The following changes since commit 08ae217b8d44986062fe3648c5bb83816d5bc00f:

perf thread_map: Fix the sizeof() calculation for map entries (2015-07-09 12:28:53 -0300)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-2

for you to fetch changes up to 0aefc3590afcc9ecbe173fc01fccbda0869d2f0a:

tools: Copy lib/hweight.c from the kernel sources (2015-07-09 16:29:56 -0300)

----------------------------------------------------------------
perf/urgent fixes:

These are only noticed when doing a detached tarball, i.e. when one does:

make perf-perf-tar-src-pkg

to create a perf-4.2.0-rc1.tar file and then try to build the contents of this
tarball:

- The python binding also has a MANIFEST like file where we list the files that
need to be built and linked to form the resulting python shared object module
file. And it has an entry for rbtree.c that still pointed to the one in the
kernel sources, fix it by also removing one level of indirection so that it
uses the tools/lib/rbtree.c copy. (Arnaldo Carvalho de Melo)

- For the same reasons as for rbtree.c, copy the kernel lib/hweight.c file to
tools/lib/, sanitizing it in the process to remove kernel specific stuff like
EXPORT_SYMBOL() lines and the linux/export.h include reference, as that file
doesn't exist anymore in tools/include/linux. (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
perf tools: Fix the detached tarball wrt rbtree copy
tools: Copy lib/hweight.c from the kernel sources

tools/lib/hweight.c | 62 ++++++++++++++++++++++++++++++++++++++
tools/perf/MANIFEST | 2 +-
tools/perf/util/Build | 2 +-
tools/perf/util/python-ext-sources | 4 +--
4 files changed, 66 insertions(+), 4 deletions(-)
create mode 100644 tools/lib/hweight.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/