Hi experts,The default driver to operate LBR on the Linux is the PMU deriver,
We want to try to retreive callchains of some perf events from LBR rather than frame stacks, as the information in frame stacks would be optimized by compiler. After investigating the usage of LBR in kernel, we found that LBR can only operated via Intel PMU,
that means for now only callchains of hardware events can be retrieved from LBR. Is that correct?the callchains and the basic branch records in sampling mode.
If yes, I wonder if callchains of other perf events(eg. tracepoint, software events) can be retrieved from LBR?Software events like trace points are not retrieved from LBR,
Or only callchains of events on PMU can be retrieved from LBR as there are some hardware restrictions?I won't say its hardware restrictions but intentional behavior.
Thanks for any help you can offer!
Best Regards,
Yixi Chen