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?


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.

 See https://www.kernel.org/doc/Documentation/trace/ftrace-uses.rst

-- Steve




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux