Re: Wrong Perf Backtraces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: Wrong Perf Backtraces
- From: Jiri Olsa <jolsa@xxxxxxxxxx>
- Date: Thu, 26 Mar 2020 16:39:50 +0100
- Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Linux-trace Users <linux-trace-users@xxxxxxxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, linux-trace-users-owner@xxxxxxxxxxxxxxx, Jin Yao <yao.jin@xxxxxxxxxxxxxxx>, Milian Wolff <milian.wolff@xxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>, Changbin Du <changbin.du@xxxxxxxxx>, Andi Kleen <ak@xxxxxxxxxxxxxxx>
- In-reply-to: <243486883401862967ec2b06348c67f3@ut.ac.ir>
- References: <4ffb7e2b6e272c20616fbf133a125fdf@ut.ac.ir> <20200325203921.GB1947699@krava> <20200325210252.GC1947699@krava> <20200325170932.34d52269@gandalf.local.home> <edcf2ce8838d83b1c2d44204d9ca001f@ut.ac.ir> <20200325214624.GD1947699@krava> <fba145203611e7edcd674cc0cec9974b@ut.ac.ir> <52904543671bcb68ea9109b90c3e4267@ut.ac.ir> <20200326095928.GF1947699@krava> <243486883401862967ec2b06348c67f3@ut.ac.ir>
On Thu, Mar 26, 2020 at 05:50:27PM +0430, ahmadkhorrami wrote:
> Hi,
> First of all, many thanks for your time. Did you say that the first file has
> problems?
>
> The first file (http://gofile.io/?c=qk6oXv) has repeated gmallocn()s while
> the second (https://gofile.io/?c=oGxgSM) also has problems with unmatched
> (not necessarily repeated) function calls. I am not sure if the kernel for
> the second one is 5.4.7 or the generic Ubuntu kernel. But the first one is
> certainly 5.4.7. Just to be clear, there were many instances of these
> unmatched <caller, callees>.
I can se all the files, but I just can't see the issue yet
but it's probably because of issues with perf archive..
let's see if somebody else can chime in
> I have a simple python script that checks for this situation. It
> disassembles functions using GDB and checks the (directly called) target of
> each caller. I will put some comments in the script and upload it. Could you
> check to see if the python script detects any mismatches in your backtraces?
> It takes the perf script output file as input. I will upload the script in
> an hour.
ok
jirka
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]