Re: [PATCH v1 0/3] perf: add indirect jump filtering support

From: Andi Kleen
Date: Thu May 14 2015 - 19:04:10 EST


On Thu, May 14, 2015 at 11:09:57PM +0200, Stephane Eranian wrote:
> This short patch series adds a new filter to the branch stack
> sampling feature. The new filter enables sampling only indirect
> jumps. For each the source and target are captured.
>
> The new branch_sample_type flag is: PERF_SAMPLE_BRANCH_IND_JUMP
>
> The series provides full support in the perf record tool:
>
> $ perf record -j ind_jmp ...
>
> On Intel x86 processors, the filter is implemented using the
> LBR hw filter.
>
> This filter is useful to study targets of indirect jumps.

Patches look all good to me.
Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/