[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180817145202.GB22443@kernel.org>
Date: Fri, 17 Aug 2018 11:52:02 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Jiri Olsa <jolsa@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
David Ahern <dsahern@...il.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Michael Petlan <mpetlan@...hat.com>
Subject: Re: [PATCH 00/13] perf tools: Use plain debug files for compressed
objects
Em Fri, Aug 17, 2018 at 11:48:00AM +0200, Jiri Olsa escreveu:
> hi,
> currently we don't allow to open plain debug files for
> compressed kernel module objects, ending up with following
> warning:
>
> $ perf report --stdio
> lzma: failed The input is not in the .xz format
> lzma: failed The input is not in the .xz format
> lzma: failed The input is not in the .xz format
> lzma: failed The input is not in the .xz format
> # To display the perf.data header info, please use --header/--header-only options.
>
> The reason is behind the logic we open the DSO object files,
> when we try all possible 'debug' objects until we find the
> data. So even if the DSO is represented by 'krava.xz' module,
> we can end up opening ~/.debug/....23432432/debug' file which
> is not compressed and we fail with above error.
>
> This patchset adds the code to detect un/compressed files and
> return plain debug file when available even for compressed
> kernel modules.
>
> Also available in here:
> git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> perf/fixes
Thanks, applied.
- Arnaldo
Powered by blists - more mailing lists