kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* perf open with "PERF_SAMPLE_REGS_USER" failing
@ 2019-08-07  2:14 Probir Roy
  0 siblings, 0 replies; only message in thread
From: Probir Roy @ 2019-08-07  2:14 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am running following code where I am configuring an intel PEBS
device with "PERF_SAMPLE_REGS_USER" on a sky lake machine (function
initPEBS). Upon "perf_event_open" it returns with "Invalid
argument"(22) error. I can configure without "PERF_SAMPLE_REGS_USER"
and get sample events.

I am on kernel version: 5.2.2 . Any idea what could be the issue?

https://gist.github.com/proywm/36561da2a99f4ada8eafe8bdbdf3bbb7

-- 
Probir Roy

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-07  2:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07  2:14 perf open with "PERF_SAMPLE_REGS_USER" failing Probir Roy

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).