Messages in this thread | | | Date | Fri, 15 Apr 2022 10:19:41 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC V2 1/8] perf: Consolidate branch sample filter helpers |
| |
On Tue, Apr 12, 2022 at 05:24:48PM +0530, Anshuman Khandual wrote: > Besides the branch type filtering requests, 'event.attr.branch_sample_type' > also contains various flags indicating which additional information should > be captured, along with the base branch record. These flags help configure > the underlying hardware, and capture the branch records appropriately when > required e.g after PMU interrupt. But first, this moves an existing helper > perf_sample_save_hw_index() into the header before adding some more helpers > for other branch sample filter flags. > > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: Arnaldo Carvalho de Melo <acme@kernel.org> > Cc: linux-perf-users@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
| |