Linux-Trace-Users Archive on
 help / color / Atom feed
From: Steven Rostedt <>
To: Naruto Nguyen <>
Subject: Re: register_jprobe always fails with -22
Date: Mon, 6 Jan 2020 22:41:56 -0500
Message-ID: <20200106224156.119a2769@rorschach.local.home> (raw)
In-Reply-To: <>

On Thu, 4 Jul 2019 16:03:42 +0700
Naruto Nguyen <> wrote:

> Hi everyone,
> I tried to write a sample jprobe as the link
> (the sample is
> attached in the link). However the function register_jprobes always
> return -22 or -2. Could you please let me know what these errors means
> and how to fix it?

Sorry for the really late reply (6 months!), but this email got lost in
my inbox, and I just noticed it. In case that you are still wondering
about jprobes, they have become obsolete. Registering with the function
tracer is now the way to accomplish this.


-- Steve

  parent reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04  9:03 Naruto Nguyen
2019-07-04 12:55 ` Steven Rostedt
2020-01-07  3:41 ` Steven Rostedt [this message]
2020-01-07  3:50   ` Steven Rostedt

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 \
    --in-reply-to=20200106224156.119a2769@rorschach.local.home \ \ \ \ \

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

Linux-Trace-Users Archive on

Archives are clonable:
	git clone --mirror linux-trace-users/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 linux-trace-users linux-trace-users/ \
	public-inbox-index linux-trace-users

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone