All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Thomas-Mich Richter <tmricht@linux.vnet.ibm.com>
Cc: "linux-perf-use." <linux-perf-users@vger.kernel.org>,
	Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Subject: Re: perf buildild-list -H dumps core
Date: Fri, 13 Oct 2017 11:48:05 -0300	[thread overview]
Message-ID: <20171013144805.GQ3503@kernel.org> (raw)
In-Reply-To: <6ec683e8-f23e-0595-5674-d5ef20ae03f5@linux.vnet.ibm.com>

Em Fri, Oct 13, 2017 at 09:33:55AM +0200, Thomas-Mich Richter escreveu:
> Maybe this has been fixed already, but I hit a core dump when I do this:
> 
> [root@s35lp76 docker]# uname -a
> Linux s35lp76 4.14.0-rc3tmr1+ #5 SMP Thu Oct 5 10:05:43 CEST 2017 s390x s390x s390x GNU/Linux
> [root@s35lp76 docker]# ~/linux/tools/perf/perf buildid-list -i 333.perf.data 
> 15dd27179a5fe664c0778b7871989c101b1ac506 /lib/modules/4.14.0-rc3tmr1+/build/vmlinux
> 4d16d00bd6ed5969f2ef3176d3e52801c85ed9d8 [vdso]
> 0a751d08365dbbca4ac4deb7ed2b8107d42bad80 /lib/libc.so.6
> 5c0a120336206d0483d3d8112207fbb54ba00a44 /bin/find
> a70676b1cdcc5575e4c5e34a5b80746dca120f75 /bin/ls
> [root@s35lp76 docker]# ~/linux/tools/perf/perf buildid-list -H -i 333.perf.data 
> Segmentation fault (core dumped)
> 
> [root@s35lp76 docker]# 
> 
> Shouldn't I specify option -H ?
> 
> I have not tried this on Intel, maybe it is platform related?
> 
> Thanks for your help

Can you please provide a backtrace? I just tried it here and couldn't
reproduce.

[root@jouet ~]# perf record -a sleep 2
[ perf record: Woken up 5 times to write data ]
[ perf record: Captured and wrote 3.654 MB perf.data (32078 samples) ]
[root@jouet ~]# perf buildid-list -H > /tmp/bla
[root@jouet ~]# head /tmp/bla
7b2520cbe38483a64f3f6c83e88543222a92a4d8 /proc/kcore
8678a8baa7adb62301351bbe6ec0411431b6c239 /usr/lib64/libz.so.1.2.11
feccaee0beafed7718f53b96fa88c57ec421256b /usr/lib64/libdl-2.25.so
f045f54aa78cf1931cc893f78b6cbc52c72a8cb1 /usr/lib64/libc-2.25.so
9059cd82d902243e5a2ad834bd83f4b21d0215ac /usr/lib64/libpthread-2.25.so
594c9c58b36cc894bf96e631cce3c4f588a53ca7 /usr/lib64/ld-2.25.so
1308b8e1e2aba6a1a9ac9d4a00c16f657c9ba21a [vdso]
93a5e75faa96b2fe55ced8e3abca4a9ed45636d7 /usr/lib64/libdbus-1.so.3.19.0
c163d82c56b2bb68d4c6d83f2d1c191bfc14e9e8 /usr/lib64/libffi.so.6.0.2
0b43611288742c9c62d4571aba4f0848e15a9d4c /usr/lib64/libglib-2.0.so.0.5200.3
[root@jouet ~]# uname -a
Linux jouet 4.13.0+ #3 SMP Mon Sep 25 11:51:22 -03 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@jouet ~]# perf --version
perf version 4.14.rc3.g4d748d
[root@jouet ~]#

- Arnaldo

  reply	other threads:[~2017-10-13 14:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13  7:33 perf buildild-list -H dumps core Thomas-Mich Richter
2017-10-13 14:48 ` Arnaldo Carvalho de Melo [this message]
2017-10-16  6:52   ` Thomas-Mich Richter
2017-10-17  0:28     ` Namhyung Kim
2017-10-17  6:15       ` Thomas-Mich Richter
2017-10-17 12:01       ` Arnaldo Carvalho de Melo
2017-10-17 13:29         ` [PATCH] perf tools: Fix crash on buildid-list with namespace Namhyung Kim
2017-10-17 14:05           ` Arnaldo Carvalho de Melo
2017-10-18  0:07             ` Namhyung Kim
2017-10-20  7:20           ` [tip:perf/urgent] perf buildid-list: Fix crash when processing PERF_RECORD_NAMESPACE tip-bot for Namhyung Kim
2017-10-16  7:00   ` perf buildild-list -H dumps core Thomas-Mich Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171013144805.GQ3503@kernel.org \
    --to=acme@kernel.org \
    --cc=brueckner@linux.vnet.ibm.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=tmricht@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.