linux-stable/tools/perf/bench
Andreas Herrmann 337fa2db04 perf bench numa: Fix type of loop iterator in do_work, it should be 'long'
'j' is of type int and start/end are of type 'long'. Thus 'j' might become
negative and cause segfault in access_data(). Fix it by using 'long' for
'j' as well.

Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Andreas Herrmann <aherrmann@suse.de>
Link: https://lore.kernel.org/r/20230330074202.14052-1-aherrmann@suse.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-04-04 09:39:56 -03:00
..
bench.h perf bench syscall: Add fork syscall benchmark 2023-04-04 09:39:55 -03:00
breakpoint.c perf bench breakpoint: Fix build on 32-bit arches 2022-05-16 21:23:09 -03:00
Build perf bench: Add breakpoint benchmarks 2022-05-13 11:00:38 -03:00
epoll-ctl.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
epoll-wait.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
evlist-open-close.c perf evlist: Rename cpus to user_requested_cpus 2022-04-01 16:19:35 -03:00
find-bit-bench.c perf bench: Avoid NDEBUG warning 2023-04-04 09:39:56 -03:00
futex-hash.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
futex-lock-pi.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
futex-requeue.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
futex-wake-parallel.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
futex-wake.c perf bench: Update use of pthread mutex/cond 2022-10-04 08:55:19 -03:00
futex.h Revert "perf bench futex: Add support for 32-bit systems with 64-bit time_t" 2021-11-01 11:42:54 -03:00
inject-buildid.c perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers 2022-10-31 11:06:41 -03:00
kallsyms-parse.c
mem-functions.c
mem-memcpy-arch.h
mem-memcpy-x86-64-asm-def.h
mem-memcpy-x86-64-asm.S
mem-memset-arch.h
mem-memset-x86-64-asm-def.h
mem-memset-x86-64-asm.S
numa.c perf bench numa: Fix type of loop iterator in do_work, it should be 'long' 2023-04-04 09:39:56 -03:00
sched-messaging.c Revert "perf bench: Fix two memory leaks detected with ASan" 2021-12-06 21:57:52 -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 2021-09-17 08:44:19 -03:00
syscall.c perf bench syscall: Add fork syscall benchmark 2023-04-04 09:39:55 -03:00