[PATCH v4 0/2] Make sysFS functional on topologies with per core sink
Linu Cherian
linuc.decode at gmail.com
Tue Oct 6 09:21:54 EDT 2020
Hi Suzuki,
On Mon Oct 05, 2020 at 12:27:07PM +0100, Suzuki K Poulose wrote:
> Hi Linu,
>
> On 09/04/2020 03:41 AM, Linu Cherian wrote:
> >This patch series tries to fix the sysfs breakage on topologies
> >with per core sink.
> >
> >Changes since v3:
> >- References to coresight_get_enabled_sink in perf interface
> > has been removed and marked deprecated as a new patch.
> >- To avoid changes to coresight_find_sink for ease of maintenance,
> > search function specific to sysfs usage has been added.
> >- Sysfs being the only user for coresight_get_enabled sink,
> > reset option is removed as well.
>
> Have you tried running perf with --per-thread option ? I believe
> this will be impacted as well, as we choose a single sink at the
> moment and this may not be reachable from the other CPUs, where
> the event may be scheduled. Eventually loosing trace for the
> duration where the task is scheduled on a different CPU.
>
Our testing with perf was limited(using -C option)
and havent tried with --per-thread option.
> Please could you try this patch and see if helps ? I have lightly
> tested this on a fast model.
Sure, will get back on this.
--
Linu cherian
More information about the linux-arm-kernel
mailing list