perf open with "PERF_SAMPLE_REGS_USER" failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux