Re: [PATCH] tracing: add tgid into common field
From: Steven Rostedt
Date: Tue Oct 13 2020 - 09:05:17 EST
On Tue, 13 Oct 2020 13:54:54 +0800
Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
> --- a/include/linux/trace_events.h
> +++ b/include/linux/trace_events.h
> @@ -67,6 +67,7 @@ struct trace_entry {
> unsigned char flags;
> unsigned char preempt_count;
> int pid;
> + int tgid;
> };
>
Sorry, this adds another 4 bytes to *every* event, if you want it to or
not. I'd rather have some ways to remove fields from this header, and not
add more to it.
I can't take this patch.
-- Steve