Skip to content

perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

[email protected] openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64meta/recipes-kernel/perf/perf.bb+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

From: Wenzong Fan <[email protected]>

As the same reason to powerpc64, mips64 also need the flag:

PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace.
Perf want LL64, flag __SANE_USERSPACE_TYPES__ to get int-ll64.h.

Fix the below issue:
| tests/attr.c:71:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' [-Werror=format=] | tests/attr.c:80:7: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format=]
| attr->type, attr->config, fd) < 0) {
| ^

The following changes since commit 754e8768b69acba89bd6c3ba5dbe55b9df4d8083:

base.bbclass: fix nondeterministic PACKAGECONFIG processing order (2013-10-24 08:38:27 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib wenzong/perf
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/perf

Wenzong Fan (1):
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

 meta/recipes-kernel/perf/perf.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5