Re: [PATCH] tracing/kprobe: Add tracefs to show private kprobe

From: Steven Rostedt
Date: Sun Jul 24 2022 - 19:19:40 EST


On Sun, 24 Jul 2022 09:10:50 +0000
Jianlin Lv <iecedge@xxxxxxxxx> wrote:

> List private kprobe event to new created local_event_list;
> Add tracefs file kprobe_local_profile to show events which
> in local_event_list.

This states what you are doing, but not why you are doing it.

The subject of a commit should be the what, and the body should explain
the why.

And the subject is confusing because you are not "adding tracefs", it
should state:

tracing/kprobes: Add method to display private kprobes in tracefs

Or something like that.

-- Steve