[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171106212519.GC5320@tassilo.jf.intel.com>
Date: Mon, 6 Nov 2017 13:25:19 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, acme@...hat.com,
peterz@...radead.org, mingo@...e.hu, kan.liang@...el.com,
jolsa@...hat.com
Subject: Re: [PATCH v2 4/5] perf/record: add support for sampling skid ip
On Thu, Nov 02, 2017 at 11:15:58AM -0700, Stephane Eranian wrote:
> This patch adds a new --skid-ip option to perf record
> to capture the unmodified interrupted instruction pointer in
> each sample. With this option, the kernel captures both the
> ip and skid ip. Unless precise mode is enabled both ip are
> the same. They may be different in precise mode depending
> on the event and precise sampling mode.
>
> $ perf record --skid-ip .....
perf record already has too many options. I would rather just make it a
event qualifier which is more flexible too
perf record -e cpu/cpu-cycles,skidip=1/
-Andi
Powered by blists - more mailing lists