http://bugzilla.suse.com/show_bug.cgi?id=1017396 Bug ID: 1017396 Summary: perf trace crash due to -m option Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jnwang@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- linux-dpq1:/tmp # perf trace -S -m 2M --duration 0.2 dd if=/dev/zero of=zero.out ibs=1048576 count=100 16.186 (15.600 ms): dd/15747 open(filename: 0x7ffc8253a6b3, flags: CREAT|TRUNC|WRONLY, mode: 438 ) = 3 16.527 ( 0.293 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 76.384 ( 1.216 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 94.095 ( 0.528 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 108.312 ( 1.120 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 565.907 ( 0.716 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 604.179 ( 1.248 ms): dd/15747 read(buf: 0x7fd73c4a7000, count: 1048576 ) = 1048576 100+0 records in 204800+0 records out 104857600 bytes (105 MB) copied, 0.819347 s, 128 MB/s perf: Segmentation fault Obtained 10 stack frames. perf(dump_stack+0x32) [0x4e6382] perf(sighandler_dump_stack+0x29) [0x4e6419] /lib64/libc.so.6(+0x35140) [0x7f68a1f89140] perf(perf_evlist__mmap_read+0x34) [0x495d04] perf(cmd_trace+0xd93) [0x467043] perf() [0x489b75] perf(main+0x610) [0x4363d0] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f68a1f75b25] perf() [0x4364e9] [(nil)] ------------------------------------------------------------------------------------ I found change the -m 2M option&argument to -m 1M it will be OK. but In SLES12-SP2 it can work. -- You are receiving this mail because: You are on the CC list for the bug.