Re: [RFC PATCH v4 1/7] libtraceevent: sync state char array with the kernel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [RFC PATCH v4 1/7] libtraceevent: sync state char array with the kernel
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Wed, 2 Aug 2023 10:36:30 -0400
- Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>, Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Ian Rogers <irogers@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Jiri Olsa <jolsa@xxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Masami Hiramatsu <mhiramat@xxxxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-perf-users@xxxxxxxxxxxxxxx, linux-trace-kernel@xxxxxxxxxxxxxxx, linux-trace-devel@xxxxxxxxxxxxxxx, Ze Gao <zegao@xxxxxxxxxxx>
- In-reply-to: <20230802121116.324604-2-zegao@tencent.com>
- References: <20230802121116.324604-1-zegao@tencent.com> <20230802121116.324604-2-zegao@tencent.com>
On Wed, 2 Aug 2023 08:09:56 -0400
Ze Gao <zegao2021@xxxxxxxxx> wrote:
> Update state char array to match the latest kernel
> definitions.
Can you send this separately to linux-trace-devel@xxxxxxxxxxxxxxx?
Thanks,
-- Steve
>
> Signed-off-by: Ze Gao <zegao@xxxxxxxxxxx>
> ---
> plugins/plugin_sched_switch.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/plugins/plugin_sched_switch.c b/plugins/plugin_sched_switch.c
> index 8752cae..e0986ac 100644
> --- a/plugins/plugin_sched_switch.c
> +++ b/plugins/plugin_sched_switch.c
> @@ -11,7 +11,7 @@
>
> static void write_state(struct trace_seq *s, int val)
> {
> - const char states[] = "SDTtZXxW";
> + const char states[] = "SDTtXZPI";
> int found = 0;
> int i;
>
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]