Kernel Newbies archive on
 help / color / Atom feed
From: Probir Roy <>
Subject: perf open with "PERF_SAMPLE_REGS_USER" failing
Date: Tue, 6 Aug 2019 21:14:39 -0500
Message-ID: <> (raw)


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

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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