Kernel Newbies archive on
 help / color / 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


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?

Probir Roy

Kernelnewbies mailing list

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

only message in thread, back to index

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

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox