aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZe Gao <zegao2021@gmail.com>2023-08-02 23:09:54 -0400
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-12-06 17:59:42 -0500
commit9b2e543f91f7b49f5900b55eb4558bf083b2f163 (patch)
tree63ca96c2819c2c393ba53cde7d3ae9c829935a97
parent5b893850d20f8e4377dcdf66089d60e2559b4b26 (diff)
downloadlibtraceevent-9b2e543f91f7b49f5900b55eb4558bf083b2f163.tar.gz
libtraceevent: sync state char array with the kernel
Update state char array to match the latest kernel definitions. Link: https://lore.kernel.org/linux-trace-devel/20230803030955.380537-1-zegao@tencent.com Signed-off-by: Ze Gao <zegao@tencent.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r--plugins/plugin_sched_switch.c2
1 files changed, 1 insertions, 1 deletions
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;