Centos-kernel-stream-9/tools/perf/bench
Michael Petlan de9e53d1d8 perf bench breakpoint: Fix build on 32-bit arches
Bugzilla: https://bugzilla.redhat.com/2123231

upstream
========
commit df36d2572e0515dc190459489c159b78bb3a21fc
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Mon May 16 21:18:11 2022 -0300

description
===========
Cast pointers to unsigned long instead of to uint64_t to avoid this
problem on 32-bit arches:

  31     6.89 debian:experimental-x-mips    : FAIL gcc version 11.2.0 (Debian 11.2.0-18)
    bench/breakpoint.c: In function 'breakpoint_setup':
    bench/breakpoint.c:56:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
       56 |         attr.bp_addr = (uint64_t)addr;
          |                        ^
    cc1: all warnings being treated as errors
    make[3]: *** [/git/perf-5.18.0-rc7/tools/build/Makefile.build:139: bench] Error 2

Fixes: 68a6772f11dbb1ed ("perf bench: Add breakpoint benchmarks")

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
2022-09-21 07:23:04 +02:00
..
Build perf bench: Add breakpoint benchmarks 2022-09-21 07:23:04 +02:00
bench.h perf bench: Add breakpoint benchmarks 2022-09-21 07:23:04 +02:00
breakpoint.c perf bench breakpoint: Fix build on 32-bit arches 2022-09-21 07:23:04 +02:00
epoll-ctl.c perf bench: Fix epoll bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:57 +02:00
epoll-wait.c perf bench: Fix epoll bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:57 +02:00
evlist-open-close.c perf evlist: Rename cpus to user_requested_cpus 2022-09-21 07:22:55 +02:00
find-bit-bench.c tools: rename bitmap_alloc() to bitmap_zalloc() 2021-12-08 10:43:17 +01:00
futex-hash.c perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:56 +02:00
futex-lock-pi.c perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:56 +02:00
futex-requeue.c perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:56 +02:00
futex-wake-parallel.c perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:56 +02:00
futex-wake.c perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K 2022-09-21 07:22:56 +02:00
futex.h perf bench futex: Call the futex syscall from a function 2022-05-16 11:35:08 +02:00
inject-buildid.c perf bench inject-buildid: Handle writen() errors 2022-04-25 12:33:07 +02:00
kallsyms-parse.c perf bench: Add kallsyms parsing 2020-05-05 16:35:32 -03:00
mem-functions.c perf bench mem: Always memset source before memcpy 2020-08-13 09:34:26 -03:00
mem-memcpy-arch.h
mem-memcpy-x86-64-asm-def.h
mem-memcpy-x86-64-asm.S tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy' 2020-11-12 17:55:41 -03:00
mem-memset-arch.h
mem-memset-x86-64-asm-def.h
mem-memset-x86-64-asm.S tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy' 2020-11-12 17:55:41 -03:00
numa.c perf bench numa: Address compiler error on s390 2022-09-21 07:22:58 +02:00
sched-messaging.c perf tools: Cast (struct timeval).tv_sec when printing 2021-03-06 16:54:24 -03:00
sched-pipe.c perf tools: Cast (struct timeval).tv_sec when printing 2021-03-06 16:54:24 -03:00
synthesize.c perf tools: Allow controlling synthesizing PERF_RECORD_ metadata events during record 2022-05-16 11:34:44 +02:00
syscall.c perf tools: Cast (struct timeval).tv_sec when printing 2021-03-06 16:54:24 -03:00