Re: register_jprobe always fails with -22
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: register_jprobe always fails with -22
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Thu, 4 Jul 2019 08:55:34 -0400
- Cc: linux-trace-devel@xxxxxxxxxxxxxxx, linux-trace-users@xxxxxxxxxxxxxxx
- In-reply-to: <CANpxKHEVmPzxU5SwQV9Ka9z5f-8EYqS=eoD0XEqMkUVQ9tiTbw@mail.gmail.com>
- References: <CANpxKHEVmPzxU5SwQV9Ka9z5f-8EYqS=eoD0XEqMkUVQ9tiTbw@mail.gmail.com>
On Thu, 4 Jul 2019 16:03:42 +0700
Naruto Nguyen <narutonguyen2018@xxxxxxxxx> wrote:
> Hi everyone,
>
> I tried to write a sample jprobe as the link
> https://bugzilla.redhat.com/show_bug.cgi?id=1275809 (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
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]