lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2dc4266f-02b1-0937-a884-dfa037cc7ffd@arm.com>
Date:   Wed, 6 Apr 2022 10:08:42 +0100
From:   James Clark <james.clark@....com>
To:     John Garry <john.garry@...wei.com>, alexandre.truong@....com
Cc:     linux-perf-users@...r.kernel.org,
        "jolsa@...nel.org >> Jiri Olsa" <jolsa@...nel.org>,
        german.gomez@....com,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>
Subject: Re: perf tool: About "perf arm64: Inject missing frames when using
 'perf record --call-graph=fp'"



On 05/04/2022 15:04, John Garry wrote:
> Hi Alexandre,
> 
> I notice that with commit b9f6fbb3b2c2 ("perf arm64: Inject missing frames when using 'perf record --call-graph=fp'") that I get messages spewing the console when running perf record+report, as below:
> 
> john@...ntu:~/linux$sudo tools/perf/perf record -ag fio null12.fio
> john@...ntu:~/linux$sudo tools/perf/perf report > report
> unwind: can't read reg 29
> unwind: can't read reg 29
> unwind: can't read reg 29
> unwind: can't read reg 29
> ...
> 
> Do you know the possible cause? I haven't checked...

Hi John,

I'm going to look into this today. I expect the cause is because we only record
the link register for this change and then do a best effort unwind to see if
we can get the return address just from that. So I don't think this is a major issue,
probably the outcome will be that I mask any of these errors just for this call
to libunwind that we added. The other main call to libunwind should still print
these errors.

One thing that is interesting is why we didn't see this when we were testing
the patch before, and we've also found it a little bit difficult to reproduce here.
So there might be more to it than just masking the error, but I'm not sure yet.

Either way, I don't expect that any unwinding is broken, just that it's
printing an annoying message.

James

> 
> Thanks,
> john

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ