Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500213

Re: [PATCH 1/2] perf, tools: Implement branch_type event parameter

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] perf, tools: Implement branch_type event parameter
Date 2016-10-13 13:50 +0200
Message-ID <srMGm-30B-35@gated-at.bofh.it> (permalink)
References <sryWJ-1sW-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 12, 2016 at 02:02:06PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
> 
> It can be useful to specify branch type state per event, for example
> if we want to collect both software trace points and last branch PMU
> events in a single collection. Currently this doesn't work because
> the software trace point errors out with -b.
> 
> There was already a branch-type parameter to configure branch sample
> types per event in the parser, but it was stubbed out. This patch
> implements the necessary plumbing to actually enable it.
> 
> Now
> 
> perf record -e sched:sched_switch,cpu/cpu-cycles,branch_type=any/ ...
> 
> works
> 
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Acked-by: Jiri Olsa <jolsa@redhat.com>

thanks,
jirka

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] perf, tools: Implement branch_type event parameter Andi Kleen <andi@firstfloor.org> - 2016-10-12 23:10 +0200
  [PATCH 2/2] perf, tools: Add documentation for perf user event parameters Andi Kleen <andi@firstfloor.org> - 2016-10-12 23:50 +0200
    Re: [PATCH 2/2] perf, tools: Add documentation for perf user event  parameters Jiri Olsa <jolsa@redhat.com> - 2016-10-13 13:50 +0200
  Re: [PATCH 1/2] perf, tools: Implement branch_type event parameter Jiri Olsa <jolsa@redhat.com> - 2016-10-13 13:50 +0200
  [tip:perf/core] perf tools: Implement branch_type event parameter tip-bot for Andi Kleen <tipbot@zytor.com> - 2016-10-24 21:00 +0200

csiph-web