* [GIT PULL 0/2] perf/urgent fixes
@ 2015-05-12 21:18 Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 1/2] tools: Fix tools/vm build Arnaldo Carvalho de Melo
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-05-12 21:18 UTC (permalink / raw)
To: Ingo Molnar
Cc: linux-kernel, Arnaldo Carvalho de Melo, Andi Kleen, Andrew Morton,
David Ahern, Jiri Olsa, Mark Rutland, Namhyung Kim, Will Deacon,
Arnaldo Carvalho de Melo
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 44b11fee51711ca85aa2b121a49bf029d18a3722:
perf/x86/rapl: Enable Broadwell-U RAPL support (2015-05-11 11:52:30 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo
for you to fetch changes up to 466c1eb07f42bd27825af24d86b46d05e5e350b9:
perf tools: Use getconf to determine number of online CPUs (2015-05-12 18:11:16 -0300)
----------------------------------------------------------------
perf/urgent fixes:
- Use getconf to determine number of online CPUs,
fixing the build on ARM (Will Deacon)
- Fix tools/vm build (Andi Kleen).
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
----------------------------------------------------------------
Andi Kleen (1):
tools: Fix tools/vm build
Will Deacon (1):
perf tools: Use getconf to determine number of online CPUs
tools/perf/Makefile | 2 +-
tools/vm/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] tools: Fix tools/vm build
2015-05-12 21:18 [GIT PULL 0/2] perf/urgent fixes Arnaldo Carvalho de Melo
@ 2015-05-12 21:18 ` Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 2/2] perf tools: Use getconf to determine number of online CPUs Arnaldo Carvalho de Melo
2015-05-13 6:22 ` [GIT PULL 0/2] perf/urgent fixes Ingo Molnar
2 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-05-12 21:18 UTC (permalink / raw)
To: Ingo Molnar
Cc: linux-kernel, Andi Kleen, Andrew Morton, Arnaldo Carvalho de Melo
From: Andi Kleen <ak@linux.intel.com>
libabikfs.a doesn't exist anymore, so we now need to link with libapi.a.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1426199953-15324-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/vm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/vm/Makefile b/tools/vm/Makefile
index ac884b65a072..93aadaf7ff63 100644
--- a/tools/vm/Makefile
+++ b/tools/vm/Makefile
@@ -3,7 +3,7 @@
TARGETS=page-types slabinfo page_owner_sort
LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra -I../lib/
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] perf tools: Use getconf to determine number of online CPUs
2015-05-12 21:18 [GIT PULL 0/2] perf/urgent fixes Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 1/2] tools: Fix tools/vm build Arnaldo Carvalho de Melo
@ 2015-05-12 21:18 ` Arnaldo Carvalho de Melo
2015-05-13 6:22 ` [GIT PULL 0/2] perf/urgent fixes Ingo Molnar
2 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-05-12 21:18 UTC (permalink / raw)
To: Ingo Molnar
Cc: linux-kernel, Will Deacon, David Ahern, Mark Rutland,
Namhyung Kim, Arnaldo Carvalho de Melo
From: Will Deacon <will.deacon@arm.com>
Parsing /proc/cpuinfo is a fiddly, arch-dependent business and a recent
change to get it working for Sparc broke arm and arm64 platforms.
Use sysconf to determine the number of online CPUs only parsing
/proc/cpuinfo when sysconf is not available.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <david.ahern@oracle.com>
Cc: Mark Rutland <Mark.Rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150423140454.GJ1652@arm.com
[ Made it fall back to parsing /proc when getconf not found ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index c699dc35eef9..d31a7bbd7cee 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -24,7 +24,7 @@ unexport MAKEFLAGS
# (To override it, run 'make JOBS=1' and similar.)
#
ifeq ($(JOBS),)
- JOBS := $(shell egrep -c '^processor|^CPU' /proc/cpuinfo 2>/dev/null)
+ JOBS := $(shell (getconf _NPROCESSORS_ONLN || egrep -c '^processor|^CPU[0-9]' /proc/cpuinfo) 2>/dev/null)
ifeq ($(JOBS),0)
JOBS := 1
endif
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [GIT PULL 0/2] perf/urgent fixes
2015-05-12 21:18 [GIT PULL 0/2] perf/urgent fixes Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 1/2] tools: Fix tools/vm build Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 2/2] perf tools: Use getconf to determine number of online CPUs Arnaldo Carvalho de Melo
@ 2015-05-13 6:22 ` Ingo Molnar
2 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2015-05-13 6:22 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: linux-kernel, Andi Kleen, Andrew Morton, David Ahern, Jiri Olsa,
Mark Rutland, Namhyung Kim, Will Deacon, Arnaldo Carvalho de Melo
* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit 44b11fee51711ca85aa2b121a49bf029d18a3722:
>
> perf/x86/rapl: Enable Broadwell-U RAPL support (2015-05-11 11:52:30 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo
>
> for you to fetch changes up to 466c1eb07f42bd27825af24d86b46d05e5e350b9:
>
> perf tools: Use getconf to determine number of online CPUs (2015-05-12 18:11:16 -0300)
>
> ----------------------------------------------------------------
> perf/urgent fixes:
>
> - Use getconf to determine number of online CPUs,
> fixing the build on ARM (Will Deacon)
>
> - Fix tools/vm build (Andi Kleen).
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> ----------------------------------------------------------------
> Andi Kleen (1):
> tools: Fix tools/vm build
>
> Will Deacon (1):
> perf tools: Use getconf to determine number of online CPUs
>
> tools/perf/Makefile | 2 +-
> tools/vm/Makefile | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Pulled, thanks a lot Arnaldo!
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-13 6:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 21:18 [GIT PULL 0/2] perf/urgent fixes Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 1/2] tools: Fix tools/vm build Arnaldo Carvalho de Melo
2015-05-12 21:18 ` [PATCH 2/2] perf tools: Use getconf to determine number of online CPUs Arnaldo Carvalho de Melo
2015-05-13 6:22 ` [GIT PULL 0/2] perf/urgent fixes Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).