lkml.org 
[lkml]   [2021]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] trace: Add trace any kernel object
On Thu, 21 Oct 2021 00:04:40 +0800
Huan Xie <xiehuan09@gmail.com> wrote:

> Thanks. The trigger seems to work in combination with kprobe/uprobe/eprobe.
>
> I have been trying to implement this feature in recent days, But my
> code does not look very elegant at the moment :-)

Feel free to post what you have. I swear I wont judge you based on your code
;-)

Just add "[RFC]" to the subject of your patches, to let us know it's not
for inclusion.

>
> It seems the result of 'cat trace' should also need to be filtered,
> Because it will output the functions we don’t want to care about.

We can work to make it attached to "set_ftrace_pid" and "set_ftrace_filter"
and friends, so that it can easily be filtered.

>
> I didn't expect this idea to be a relatively large project. :-)

Kernel updates never are what you expect them to be come ;-)

-- Steve

\
 
 \ /
  Last update: 2021-10-20 21:08    [W:1.314 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site