archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <>
To: Naruto Nguyen <>
Subject: Re: register_jprobe always fails with -22
Date: Thu, 4 Jul 2019 08:55:34 -0400	[thread overview]
Message-ID: <20190704085534.1c9c8a29@gandalf.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?

Note, jprobes have been removed from the kernel. They have been
obsoleted by registering with the function tracer.

See Documentation/trace/ftrace-uses.rst in the kernel source code.

-- Steve

  reply	other threads:[~2019-07-04 12:55 UTC|newest]

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

Reply instructions:

You may reply publicly 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=20190704085534.1c9c8a29@gandalf.local.home \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).