linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot use address filtering with user register sampling
@ 2022-08-25  0:14 Hongtao Yu
  2022-08-26 14:28 ` Liang, Kan
  0 siblings, 1 reply; 5+ messages in thread
From: Hongtao Yu @ 2022-08-25  0:14 UTC (permalink / raw)
  To: linux-perf-users@vger.kernel.org

Hi,
 
I was exploring address filtering together with user reg sampling on Intel Skylake hardware. The idea behind it is to make reg sampling more selectively. Unfortunately, I hit ` This CPU does not support address filtering` error. The command I ran is:
 
   perf record -e br_inst_retired.all_branches:uppp --user-regs=DI --filter 'filter * @/bin/ls'  ls
 
   This CPU does not support address filtering
 
IIUC, the br_inst_retired event is also hardware-based, similarly with the intel_pt event. But the latter works with address filtering while the former doesn’t. What is rational behind this?
 
Thanks,
Hongtao
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-29  4:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25  0:14 Cannot use address filtering with user register sampling Hongtao Yu
2022-08-26 14:28 ` Liang, Kan
2022-08-26 22:03   ` Hongtao Yu
2022-08-28 16:30     ` Ian Rogers
2022-08-29  4:50       ` Hongtao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).