Thread (10 messages) 10 messages, 2 authors, 2021-08-20

Re: [RFC] bpf: lbr: enable reading LBR from tracing bpf programs

From: Song Liu <hidden>
Date: 2021-08-19 18:45:28
Also in: lkml

Hi Peter,
On Aug 19, 2021, at 11:27 AM, Peter Zijlstra [off-list ref] wrote:

On Thu, Aug 19, 2021 at 06:22:07PM +0000, Song Liu wrote:
quoted
quoted
And if we're going to be adding new pmu::methods then I figure one that
does the whole sample state might be more useful.
What do you mean by "whole sample state"? To integrate with exiting
perf_sample_data, like perf_output_sample()?
Yeah, the PMI can/does set more than data->br_stack, but I'm now
thinking that without an actual PMI, much of that will not be possible.
br_stack is special here.

Oh well, carry on I suppose.
Thanks again for these information and suggestions. I will try to put them
together in the code and send the patches. 

Song
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help