LKML Archive on
help / color / mirror / Atom feed
From: Josh Hunt <>
To: Andi Kleen <>
Subject: Re: [PATCH v2] perf tools: allow map files to specify DSO
Date: Mon, 7 May 2018 14:30:32 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 05/07/2018 11:40 AM, Andi Kleen wrote:
> On Mon, May 07, 2018 at 02:24:16PM -0400, Josh Hunt wrote:
>> Add the ability to specify a DSO in the /tmp/perf-<PID>.map file.
>> The DSO should be the first line in the file and readable by the
>> running user. If a valid DSO is found all other contents of the
>> file will be ignored. This allows things like callchain unwinding
>> with DWARF to work.
> FWIW it's ok, but also obsolete with Kirill's large-pages-in-tmpfs
> work in newer kernels. With that you can just copy the executable into
> a 2MB tmpfs and disable the manual huge page copying and everything
> should work as usually.
> So essentially it's only a hack for old kernels and old binaries.
> But doesn't hurt I guess.

Ah, very interesting. I wasn't aware of this. Can you point me to some 
more details on this process?


  reply	other threads:[~2018-05-07 21:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 18:24 Josh Hunt
2018-05-07 18:40 ` Andi Kleen
2018-05-07 21:30   ` Josh Hunt [this message]
2018-05-08  0:34     ` Andi Kleen

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v2] perf tools: allow map files to specify DSO' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).