[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <39be46d6a5194b6390ed31be67689c6c@huawei.com>
Date: Thu, 13 Jun 2024 09:43:52 +0000
From: duchangbin <changbin.du@...wei.com>
To: Adrian Hunter <adrian.hunter@...el.com>
CC: duchangbin <changbin.du@...wei.com>, Peter Zijlstra
<peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>, "Arnaldo Carvalho de
Melo" <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Nathan
Chancellor <nathan@...nel.org>, Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa
<jolsa@...nel.org>, "Ian Rogers" <irogers@...gle.com>, "Liang, Kan"
<kan.liang@...ux.intel.com>, "Nick Desaulniers" <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
"linux-perf-users@...r.kernel.org" <linux-perf-users@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"llvm@...ts.linux.dev" <llvm@...ts.linux.dev>
Subject: Re: [PATCH 2/2] perf: disasm: prefer symsrc_filename for filename
On Thu, Jun 13, 2024 at 11:15:28AM +0300, Adrian Hunter wrote:
> On 13/06/24 09:35, Changbin Du wrote:
> > If we already found a debugging version when loading symbols for that dso,
> > then use the same file for disasm instead of looking up in buildid-cache.
>
> In the past, there have been cases where the debugging version has not
> worked for reading object code. I don't remember the details, but the
> symbols and debugging information was OK while the object code was not.
>
> In general, using anything other than the file that was actually executed
> for reading object code seems like a bad idea.
>
Is this a platform specific issue? AFAIK, the binary code in debugging and
non-debugging version should be identical.
>
>
--
Cheers,
Changbin Du
Powered by blists - more mailing lists