* [PATCH] Documentation: insert an additional information to android.txt
@ 2012-10-29 13:41 Joonsoo Kim
2012-10-29 14:35 ` Namhyung Kim
2012-11-14 6:31 ` [tip:perf/core] perf tools: Add info about cross compiling for Android ARM tip-bot for Joonsoo Kim
0 siblings, 2 replies; 3+ messages in thread
From: Joonsoo Kim @ 2012-10-29 13:41 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: linux-kernel, Joonsoo Kim, Irina Tirdea, David Ahern, Ingo Molnar,
Jiri Olsa, Namhyung Kim, Paul Mackerras, Pekka Enberg,
Peter Zijlstra, Steven Rostedt
Without defining ARCH=arm, building a perf for Android ARM will be failed,
because it needs architecture specific files.
So add related information to a document.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Cc: Irina Tirdea <irina.tirdea@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
---
It is based on git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git,
perf-core-for-mingo branch.
diff --git a/tools/perf/Documentation/android.txt b/tools/perf/Documentation/android.txt
index a39dbbb..8484c3a 100644
--- a/tools/perf/Documentation/android.txt
+++ b/tools/perf/Documentation/android.txt
@@ -48,7 +48,10 @@ For x86:
II. Compile perf for Android
------------------------------------------------
You need to run make with the NDK toolchain and sysroot defined above:
- make CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
+For arm:
+ make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
+For x86:
+ make ARCH=x86 CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
III. Install perf
-----------------------------------------------
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: insert an additional information to android.txt
2012-10-29 13:41 [PATCH] Documentation: insert an additional information to android.txt Joonsoo Kim
@ 2012-10-29 14:35 ` Namhyung Kim
2012-11-14 6:31 ` [tip:perf/core] perf tools: Add info about cross compiling for Android ARM tip-bot for Joonsoo Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2012-10-29 14:35 UTC (permalink / raw)
To: Joonsoo Kim
Cc: Arnaldo Carvalho de Melo, linux-kernel, Irina Tirdea, David Ahern,
Ingo Molnar, Jiri Olsa, Paul Mackerras, Pekka Enberg,
Peter Zijlstra, Steven Rostedt
2012-10-29 (월), 22:41 +0900, Joonsoo Kim:
> Without defining ARCH=arm, building a perf for Android ARM will be failed,
> because it needs architecture specific files.
> So add related information to a document.
>
> Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Thanks,
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/core] perf tools: Add info about cross compiling for Android ARM
2012-10-29 13:41 [PATCH] Documentation: insert an additional information to android.txt Joonsoo Kim
2012-10-29 14:35 ` Namhyung Kim
@ 2012-11-14 6:31 ` tip-bot for Joonsoo Kim
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Joonsoo Kim @ 2012-11-14 6:31 UTC (permalink / raw)
To: linux-tip-commits
Cc: acme, linux-kernel, paulus, hpa, mingo, a.p.zijlstra, penberg,
namhyung, jolsa, js1304, rostedt, irina.tirdea, dsahern, tglx
Commit-ID: cd69ef88a7cbe5ad404454ed8f491e6b16b4e86f
Gitweb: http://git.kernel.org/tip/cd69ef88a7cbe5ad404454ed8f491e6b16b4e86f
Author: Joonsoo Kim <js1304@gmail.com>
AuthorDate: Mon, 29 Oct 2012 22:41:06 +0900
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 31 Oct 2012 12:17:49 -0200
perf tools: Add info about cross compiling for Android ARM
Without defining ARCH=arm, building perf for Android ARM will fail,
because it needs architecture specific files.
So add related relevant information to the android documentation.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Irina Tirdea <irina.tirdea@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1351518066-4791-1-git-send-email-js1304@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/Documentation/android.txt | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tools/perf/Documentation/android.txt b/tools/perf/Documentation/android.txt
index a39dbbb..8484c3a 100644
--- a/tools/perf/Documentation/android.txt
+++ b/tools/perf/Documentation/android.txt
@@ -48,7 +48,10 @@ For x86:
II. Compile perf for Android
------------------------------------------------
You need to run make with the NDK toolchain and sysroot defined above:
- make CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
+For arm:
+ make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
+For x86:
+ make ARCH=x86 CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
III. Install perf
-----------------------------------------------
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-14 6:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 13:41 [PATCH] Documentation: insert an additional information to android.txt Joonsoo Kim
2012-10-29 14:35 ` Namhyung Kim
2012-11-14 6:31 ` [tip:perf/core] perf tools: Add info about cross compiling for Android ARM tip-bot for Joonsoo Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox