Re: register_jprobe always fails with -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]

  Powered by Linux