[PATCH v2 0/5] A mechanism for efficient support for per-function metrics

Mark Barnett mark.barnett at arm.com
Fri Feb 7 11:23:19 PST 2025


On 1/22/25 16:47, James Clark wrote:
> 
> 
> On 06/01/2025 12:01 pm, mark.barnett at arm.com wrote:
>> From: Mark Barnett <mark.barnett at arm.com>
>>
>> This patch introduces the concept of an alternating sample rate to perf
>> core and provides the necessary basic changes in the tools to activate
>> that option.
>>
> 
> [...]
> 
>> Changes since v1:
>>   - Rebased onto perf-tools-next, as per request from Ian Rogers.
>>   - Removed unnecessary code that truncated period_left to 0 and 
>> restarted
>>     the PMU.
>>   - Renamed variables to use the shorter 'alt_period' instead of
>>     'alterantive_period'.
>>   - Added patch #5 that addresses an issue in the x86 and PowerPC 
>> drivers that
>>     caused the opposite period to be reported in the sample record.
> 
> It sounds like it would be better if patch 5 comes first otherwise the 
> feature is introduced as broken.
> 
> 

Thanks, James. I'll re-order them with the next submission.

Mark



More information about the linux-arm-kernel mailing list