Giter VIP home page Giter VIP logo

perf_event_tests's Introduction

The Perf Event Testsuite
  by Vince Weaver   <vincent.weaver _at_ maine.edu>


This series of test is meant to validate that the perf_event
subsystem is working.


QUICKSTART
~~~~~~~~~~
  1. run "make"
  2. run "./run_tests.sh"

  If a test fails you can run the individual test to get more info on
  why.

CROSS COMPILE
~~~~~~~~~~~~~

  1. make sure that the cross compiler toolchain is in PATH
  2. run "make CROSS_COMPILE=<compiler name>"

  e.g., "make CROSS_COMPILE=arm-linux-gnueabihf-"


LAYOUT
~~~~~~
There are various subdirectories:

   + crashes   -- these contain tests known to crash certain
                  kernel versions from userspace.
                  * USE CAUTION RUNNING THESE TESTS *

   + exploits  -- perf_event code that can cause some sort of security exploit

   + fuzzer    -- a fuzzer tool that tries to hit the extremes of
                  the perf_event interface and find bugs in the kernel

   + include   -- common include files

   + lib       -- common library code

   + papi      -- tests for the PAPI library.  Only compile/run
                  these if you have PAPI installed

   + perf_event_h -- an archive of perf_event.h files over the
                     history of the interface.  Useful when
                     figuring out when a feature was added

   + results   -- results of ./run_tests.sh across kernel versions

   + tests     -- all of the various tests live under here

   + tools     -- various perf_event related tools

WEBSITE
~~~~~~~

The most recent version of this code can be found here:

   http://web.eece.maine.edu/~vweaver/projects/perf_events/validation/

Even more recent code can be obtained from the git tree:

   git clone git://github.com/deater/perf_event_tests


---

Vince
17 September 2013

perf_event_tests's People

Contributors

captain5050 avatar deater avatar maxinjian avatar nkurz avatar robherring avatar roxell avatar sudeep-holla avatar wildea01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

perf_event_tests's Issues

tests/openmp/openmp_sample: Segmentation fault

lkp caught a "Segmentation fault" when running tests/openmp/openmp_sample since kernel commit:
f812fdeee ("signal: Add calculate_sigpending()")

root@lkp-hsw-ep4 /lkp/benchmarks/perf_event_tests# tests/openmp/openmp_sample
Testing OpenMP sample behavior
Note!!! Inherit only works if the event is created
before the fork happens!  OpenMP creates thread pools
so if you create the event after the thread pools hae been
created it may be too late and you won't get child events!

NUM CPUS=72
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5602
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfb
	PERF_SAMPLE_TID, pid: 5601  tid 5603
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5604
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5605
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
[snip]
	PERF_SAMPLE_TID, pid: 5601  tid 5653
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5652
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5628
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5650
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfb
	PERF_SAMPLE_TID, pid: 5601  tid 5650
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5655
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5659
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5656
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5658
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5656
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfd
	PERF_SAMPLE_TID, pid: 5601  tid 5653
Segmentation fault

fuzzer calls parse_open_event with wrong pointer

In active_events.c 'pe' is a perf_event_attr, in fuzzer.c 'pe' is a pointer to perf_event_attr. parse_open_event is called with &pe both times. This is likely to crash or corrupt something, and my build warns about it. Judging from the code, fuzzer.c should call parse_open_event with ...,pe not ...,&pe).

`make` fails on ppc64le - Error: unrecognized opcode: `rdpmc'

Cloned from master and ran make command.

gcc -Wall -O2 -g -I../../include -c -o rdpmc_invalid.o rdpmc_invalid.c
/tmp/ccNwuEkW.s: Assembler messages:
/tmp/ccNwuEkW.s:40: Error: unrecognized opcode: `rdpmc'
make[2]: *** [: rdpmc_invalid.o] Error 1
make[2]: Leaving directory '/root/perf_event_tests-master/tests/rdpmc'
make[1]: *** [Makefile:17: all] Error 2
make[1]: Leaving directory '/root/perf_event_tests-master/tests'
make: *** [Makefile:9: all] Error 2

# uname -m
ppc64le

ARM build breakage

Hi,

The following commit breaks building for ARM and AArch64.

commit d16cdafcae817fa27dc650fe1404ba1ba20247cb
Author: Vince Weaver
Date:   Thu Jul 10 16:45:38 2014 -0400

    tests: add support for reading the SAMPLE_REGS_USERS values

    was actually introduced in 3.7, running a bit behind.      

    values are screwy though, need to find out why.            

Error:

make[2]: Entering directory `perf_event_tests/tests/record_sample'
gcc-4.8.3-linaro14.01/bin/arm-linux-gnueabihf-gcc -mcpu=cortex-a15 -mfpu=neon -marm -g -O2 -Wall -Iinclude -Ifuzzer/trinity_files/include -c lost_record_sample.c
gcc-4.8.3-linaro14.01/bin/arm-linux-gnueabihf-gcc -mcpu=cortex-a15 -mfpu=neon -marm -g -O2 -Wall -Iinclude -Ifuzzer/trinity_files/include -c parse_record.c
parse_record.c:114:19: error: ‘PERF_REG_X86_64_MAX’ undeclared here (not in a function)
 char x86_64_names[PERF_REG_X86_64_MAX][8]=
                   ^
parse_record.c:118:16: error: ‘PERF_REG_X86_32_MAX’ undeclared here (not in a function)
 char x86_names[PERF_REG_X86_32_MAX][8]=
                ^
make[2]: *** [parse_record.o] Error 1

how do I port this to android

hi,deater, I want to port this to android,but I do not know how to write the shellcode on android ,how do I port this to android.Can you help me to port this on android , thanks

After run perftool.py in Rhel8.1 with Avocado(version:77.0), it shows "CANCEL: gcc-g++ is needed for the test to be run", which makes the result FAIL

【Test Result】
After run perftool.py in Rhel8.1 with Avocado(version:77.0), it shows "CANCEL: gcc-g++ is needed for the test to be run", which makes the result FAIL. SOL-log is like below:

(1/1) perftool.py:Perftool.test: CANCEL: gcc-g++ is needed for the test to be run (9.69 s)
RESULTS : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 1

However, we can't install "gcc-g++" in Rhel8.1 so far. Please check if Rhel8.1 supports "gcc-g++" and the test of perftool.py.

【Expect Result】
After run perftool.py, it should show PASS.

【Test Steps】
Run perftool.py via cmd "avocado run perftool.py"

【Configuration】
[Rhel8.1 Kernel]
4.18.0-147.5.1.el8_1.ppc64le

[FW configuration]
BMC: op940.00.mih-5-0-g86f9791c2
PNOR: OP9-v2.4-4.37-prod

[HW configuration]
CPU DD2.3 20core *2
Hynix (HMA82GR7CJR4N-VKT3/F) 16G *32
Seagate Jaguar 400GB *1
PSU ACBEL 2000w *2

【Test log】
Test.log.zip

perf_event_tests: branches and non-existent are failing for aarch64

Hi,

I am using Hikey (ARM64) target.
{{{
/ # cat /proc/cpuinfo
processor : 0
BogoMIPS : 3.84
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
....
}}}

When I execute perf_event_tests below are failing:

[1]. perf "branches" test failing with below error:
{{{
perf_event-branches ] # Error: Testing a loop with 1500000 branches (100 times):
[perf_event-branches ] # Error: Expected: 1500000
[perf_event-branches ] # Error: High: 1000006 Low: 1000003 Average: 1000004
[perf_event-branches ] # Error: ( note, a small value above 1500000 may be expected due
[perf_event-branches ] # Error: to overhead and interrupt noise, among other reasons)
[perf_event-branches ] # Error: Average Error = -33.33%
[perf_event-branches ] # Error: Instruction count off by more than 1%
[perf_event-branches ] # Error: Testing "branches" generalized event... ^[[1;31mFAILED^[[0m
}}}

[2]. perf "non-existent" failing with below error:
{{{
Testing if non-existent events fail... ^[[1mSKIPPED^[[0m
}}}

Could you please share your comments whether this supports AArch64 targets or not. and How to resolve above issues.

Thanks,
Murali

./simultaneous_overflow is unstable

hi , i found the result of test case simultaneous_overflow unstable is unstable

root@snb-black /lkp/benchmarks/perf_event_tests/tests/overflow# cat /proc/sys/kernel/perf_event_paranoid
0
root@snb-black /lkp/benchmarks/perf_event_tests/tests/overflow# ./simultaneous_overflow 
This tests simultaneous overflow.
Testing matrix matrix multiply
	Event perf::instructions with period 1000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 946 (perf::instructions/1000000)
Testing matrix matrix multiply
	Event perf::instructions with period 2000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 473 (perf::instructions/2000000)
Testing matrix matrix multiply
	Event perf::instructions with period 1000000
	Event perf::instructions with period 2000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 946 (perf::instructions/1000000)
	fd 4 overflows: 473 (perf::instructions/2000000)
	Read 3 946375623
	Read 4 946378640
Event perf::instructions/1000000 Expected 946 Got 946
Event perf::instructions/2000000 Expected 473 Got 473
Testing multiple event overflow...                           PASSED
root@snb-black /lkp/benchmarks/perf_event_tests/tests/overflow# ./simultaneous_overflow 
This tests simultaneous overflow.
Testing matrix matrix multiply
	Event perf::instructions with period 1000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 946 (perf::instructions/1000000)
Testing matrix matrix multiply
	Event perf::instructions with period 2000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 473 (perf::instructions/2000000)
Testing matrix matrix multiply
	Event perf::instructions with period 1000000
	Event perf::instructions with period 2000000
	Matrix multiply sum: s=27665734022509.746094
	fd 3 overflows: 945 (perf::instructions/1000000)
	fd 4 overflows: 473 (perf::instructions/2000000)
	Read 3 946375635
	Read 4 946378676
Event perf::instructions/1000000 Expected 946 Got 945
Event perf::instructions/2000000 Expected 473 Got 473
Wrong number of overflows!
Testing multiple event overflow...                           FAILED

Compilation error - undefined references to `rdtsc`, `rdtsc` and `rdpmc` functions declared but never defined

Trying to compile this after seeing it on LWN.net, on Linux 4.0.8 on Fedora 22 x86_64 and GCC 5.1.1.

Cloning and doing make generates the following errors:

gcc -Wall -O2 -g -I../../include -c rdpmc_support.c
In file included from rdpmc_support.c:24:0:
rdpmc_lib.h:2:27: warning: inline function ‘rdpmc’ declared but never defined
 inline unsigned long long rdpmc(unsigned int counter);
                           ^
rdpmc_lib.h:1:27: warning: inline function ‘rdtsc’ declared but never defined
 inline unsigned long long rdtsc(void);

rdpmc_support.o: In function `main':
/home/danielkza/tmp/perf_event_tests/tests/rdpmc/rdpmc_support.c:107: undefined reference to `rdtsc'
/home/danielkza/tmp/perf_event_tests/tests/rdpmc/rdpmc_support.c:124: undefined reference to `rdtsc'
collect2: error: ld returned 1 exit status
Makefile:37: recipe for target 'rdpmc_support' failed
make[2]: *** [rdpmc_support] Error 1
make[2]: Leaving directory '/home/danielkza/tmp/perf_event_tests/tests/rdpmc'
Makefile:2: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/danielkza/tmp/perf_event_tests/tests'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2

perf_event_tests: opemmp_sample causes Segmentation fault

Tested in kernel v5.0-rc7 version:

root@lkp-hsw-ep4 ~# cd /lkp/benchmarks/perf_event_tests/
root@lkp-hsw-ep4 /lkp/benchmarks/perf_event_tests# tests/openmp/openmp_sample
Testing OpenMP sample behavior
Note!!! Inherit only works if the event is created
before the fork happens! OpenMP creates thread pools
so if you create the event after the thread pools hae been
created it may be too late and you won't get child events!

NUM CPUS=72
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1696
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1697
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1698
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1699
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1700
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1701
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1702
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1703
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1704
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1697
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1705
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1698
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1699
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1700
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1707
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1701
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1702
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1708
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1710
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1705
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1706
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1706
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1707
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1710
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1716
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1717
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1711
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1711
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1718
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1719
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1712
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1712
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1714
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1714
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1715
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1715
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1716
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1717
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1722
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1723
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1719
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1724
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1725
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1721
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1721
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1729
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1713
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1713
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1727
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1723
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1728
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1724
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1725
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1729
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1731
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1727
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1704
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1733
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1730
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1730
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1738
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1733
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1739
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1739
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1737
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1737
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1728
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1741
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1722
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1735
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1735
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1740
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1748
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1744
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1726
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1726
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1746
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1747
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1740
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1748
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1742
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1742
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1744
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1746
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1754
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1747
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1720
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1720
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1755
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1736
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1736
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1753
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1752
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1752
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1738
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1751
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1751
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1754
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1749
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1749
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1755
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1753
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1718
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1756
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1762
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1731
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1758
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1758
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1695
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1761
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1734
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1734
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1757
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1757
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf0
PERF_SAMPLE_TID, pid: 1695 tid 1765
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1762
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1760
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1760
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1766
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfd
PERF_SAMPLE_TID, pid: 1695 tid 1756
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1763
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1759
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1759
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1695
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1761
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1765
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1766
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1763
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcf9
PERF_SAMPLE_TID, pid: 1695 tid 1695
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
PERF_SAMPLE_IP, IP: 7f0cac92bcfb
PERF_SAMPLE_TID, pid: 1695 tid 1695
Segmentation fault

After run perf_events_test.py in Rhel8.1 with Avocado(version:77.0), it shows "FAIL: There are 15 test(s) failure, please check the job.log"

【Test Result】
After run perf_events_test.py in Rhel8.1 with Avocado(version:77.0), it shows "FAIL: There are 15 test(s) failure, please check the job.log”. After re-test it by manual, the result is similar.
Test-logs of running perf_events_test.py are like below:

《SOL-log》
(1/1) perf_events_test.py:Perf_subsystem.test: FAIL: There are 15 test(s) failure, please check the job.log (194.32 s)
RESULTS : PASS 0 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0

《job-log》

Checking generalized events
tests/generalized_events/l1-dcache-stores
Testing "L1-dcache-stores" generalized event... FAILED
Checking basic perf_event functionality
tests/attr_fields/exclusive
Testing exclusive eventsets... FAILED
tests/flags/flags_fd_output
Testing PERF_FLAG_FD_OUTPUT flag... KNOWN KERNEL BUG
Checking perf_event ioctl calls
tests/ioctl/ioctl_4_period
Testing ioctl(PERF_EVENT_IOC_PERIOD)... FAILED
 + tests/ioctl/ioctl_5_set_output
Testing PERF_EVENT_IOC_SET_OUTPUT ioctl... FAILED
tests/ioctl/ioctl_8_set_bpf
Cannot open /sys/kernel/tracing/kprobe_events!
You may want to: mount -t tracefs nodev /sys/kernel/tracing
Testing PERF_EVENT_IOC_SET_BPF ioctl... FAILED
tests/ioctl/ioctl_10_query_bpf
Cannot open /sys/kernel/tracing/kprobe_events!
You may want to: mount -t tracefs nodev /sys/kernel/tracing
Testing PERF_EVENT_IOC_QUERY_BPF ioctl... FAILED
tests/ioctl/ioctl_11_modify_attributes
ioctl didn't work Bad file descriptor
Testing ioctl(PERF_EVENT_IOC_MODIFY_ATTRIBUTES)... FAILED
Checking perf_event prctl calls
tests/prctl/prctl
Testing prctl()... FAILED
Checking error returns
tests/error_returns/einval
Testing EINVAL generation... FAILED
tests/error_returns/eperm
Testing EPERM generation... FAILED
Checking mmap record sample functionality
tests/record_sample/sample_regs_user
./run_tests.sh: line 366: 17318 Segmentation fault (core dumped) $TESTS_DIR/record_sample/sample_regs_user
tests/record_sample/sample_stack_user
Testing PERF_SAMPLE_STACK_USER... FAILED
Checking OpenMP support
tests/openmp/openmp_test
Testing OpenMP results... FAILED
tests/openmp/openmp_overflow
Testing OpenMP overflow results... FAILED
【Expect Result】
After run perf_events_test.py, it should show PASS.

【Test Steps】
Run perf_events_test.py via cmd "avocado run perf_events_test.py"

【Configuration】
[Rhel8.1 Kernel]
4.18.0-147.5.1.el8_1.ppc64le

[FW configuration]
BMC: op940.00.mih-5-0-g86f9791c2
PNOR: OP9-v2.4-4.37-prod

[HW configuration]
CPU DD2.3 20core *2
Hynix (HMA82GR7CJR4N-VKT3/F) 16G *16
Seagate Jaguar 400GB *2
PSU ACBEL 2000w *2

【Test log】: job-log & Manual-Test-log
Test.log.zip

Failures at ivb and haswell with v4.13-rc2/v4.13-rc3

hi @deater , i tested perf_event, below are the failure results
2 failures at ivb

lizhijian@inn:/result/perf_event_tests/not_paranoid_at_all/lkp-ivb-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/520eccdfe187591a51ea9ab4c1a024ae4d0f68d9/4$ grep -e FAILED perf_event_tests 
    Testing fixed counter 0 event...                           FAILED
    Testing multiple event overflow within group...            FAILED

1 failure at haswell

lizhijian@inn:/result/perf_event_tests/not_paranoid_at_all/lkp-hsw-ep4/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/520eccdfe187591a51ea9ab4c1a024ae4d0f68d9/3$ grep -e FAILED perf_event_tests
    Testing OpenMP overflow results...                         FAILED

all above results are tested under root.

are those failures possible related to hardware?

Testing EACCES/EPERM generation... FAILED

i run the test with v4.13-rc1 at haswell platform under root, and some result like below

lizhijian@inn:/result/perf_event_tests/disallow_cpu_events/lkp-hsw-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/5771a8c08880cdca3bfb4a3fc6d309d6bba20877/0$ cat perf_event_tests | grep -e FAILED -e NEED -e UNEX -e SKIP
    Testing inherit_stat...                                      UNEXPLAINED
    Testing EACCES generation...                                 FAILED   <== diff
    Testing EPERM generation...                                  FAILED  <== diff
    Testing if non-existent events fail...                       SKIPPED
    Testing hardware breakpoint overflow...                      UNEXPLAINED
    Testing simultaneous one-shot group overflow...              FAILED
    Testing if we can skid into kernel...                        FAILED
    Testing if event constraints are enforced...                 SKIPPED
    Testing if minimized rdpmc papi-multi-attach works...        FAILED

there are two different cases comparing to your uploaded results (results/haswell/haswell-4.13-rc0 )
For the EACCES, it can be passed if i run it with a normal user
For the EPERM, it always failed under both root and normal user

want to know, is EACCES required under root, what's user when you run thoes cases
and any idea about EPERM?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.