perf_event_tests
perf_event_tests copied to clipboard
perf fuzzer compilation error with RHEL10[6.11.0-0.rc5.22.el10.ppc64le]
Hi,
Perf compilation fails on RHEL Distro[6.11.0-0.rc5.22.el10.ppc64le] for the following command: make -s -S
Error:
In file included from ample_weight.c:30:
../../include/perf_helpers.h:10:48: note: xpected ‘long long unsigned int *’ but argument is of ype ‘__u64 *’ {aka ‘long unsigned int *’}
10 | int get_latency_load_event(unsigned long long *config,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
ample_weight.c:96:50: or: passing argument 2 of ‘get_latency_load_event’ from incompatible pointer ype [-Wincompatible-pointer-types]
96 | ult=get_latency_load_event(&pe.config,&pe.config1,
| ^~~~~~~~~~~
|
| __u64 * {aka long unsigned int *}
../../include/perf_helpers.h:11:45: note: xpected ‘long long unsigned int *’ but argument is of ype ‘__u64 *’ {aka ‘long unsigned int *’}
11 | unsigned long long *config1,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
make[2]: *** [