<div dir="ltr"><div>Hi,</div><div><br></div><div>I have been trying out kpatch for some time now. I was able to create, install and load a patch successfully for my simple device driver. So far so good. Next, I tried to patch a bit more complex kernel module having multiple object files. I then created and installed the patch using the kpatch tools but while loading the patch I am hitting an issue. Kpatch is reporting the following error:</div><div><span class="" style="white-space:pre">  </span>kpatch: can't set ftrace filter at address <some address></div><div><br></div><div>I did some investigation and reached to a conclusion that ftrace_match_addr() is returning -22 (-EINVAL) as ftrace_location() is failing to find the target function’s address in ftrace table.</div><div><br></div><div>I would be really grateful if I can get any help on resolving this issue.</div><div><br></div><div>Thanks and Regards,</div><div>Somdeep Das</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">50|V|[)33|></div>
</div>