Hi Andi,

On Tue, 22 Apr 2014 03:17:56 -0700, Andi Kleen wrote:
> Adrien BAK <adrien....@metascale.org> writes:
>>
>> This looks promising, although I couldn't find any useful
>> documentation on this. Do you know if the perf userland tool allows
>> for this kind of slave-sampling or if I have to build my own tool
>> around the perf_event API ?
>
> perf record supports it (with :S), but none of the reporting tools
> unfortunately.

It seems it's what --group option of perf report is for?

  $ perf record -e '{cycles,power/energy-pkg/}:S' -a sleep 1

  $ perf report --group --stdio


Thanks,
Namhyung

>
> However keep in mind that very rapid sampling of RAPL is not
> likely to give useful results. The data only really makes
> sense over longer intervals.
>
> -Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to