projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca575ad
)
perf tools: Do not provide dup sched_getcpu() prototype on Android
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 14 Jul 2016 15:02:04 +0000
(12:02 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 14 Jul 2016 15:02:04 +0000
(12:02 -0300)
The Bionic libc has this definition, so don't duplicate it.
Cc: Adrian Hunter <
[email protected]
>
Cc: Chris Phlipot <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Wang Nan <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/util.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/util.h
b/tools/perf/util/util.h
index 6178cab8237490c4779e0ae3d72b72aa1e0fab9a..843cbba8f9d3f8964455ecf0267db1e8b9c3a22d 100644
(file)
--- a/
tools/perf/util/util.h
+++ b/
tools/perf/util/util.h
@@
-360,7
+360,7
@@
void print_binary(unsigned char *data, size_t len,
size_t bytes_per_line, print_binary_t printer,
void *extra);
-#if
ndef __GLIBC__
+#if
!defined(__GLIBC__) && !defined(__ANDROID__)
extern int sched_getcpu(void);
#endif