Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1048930rwo; Wed, 2 Aug 2023 08:03:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlFkwiWZRCmmGbKmKeEpmE8lr9GM1eiEPeT6Ik8rxqUm26aVeepl4qb0ZmqRghjIY6jSe/jk X-Received: by 2002:a17:902:e74f:b0:1b8:6cae:4400 with SMTP id p15-20020a170902e74f00b001b86cae4400mr17084652plf.37.1690988584696; Wed, 02 Aug 2023 08:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690988584; cv=none; d=google.com; s=arc-20160816; b=UO7owA7VtVw34xOwXj9kKgSCfRA5dzPqGXRrGSx1xYfbAqwkmlbc7ezot7chvdzFqv wKIVRkFVVdd5irnzuyiYR79xzwjoOrYpnN0xfq0bj0z9wmC67FwWjN+RYlVwTpyBsq1f gCPM93xY9ZoSvatZJfdeWcV1x8hDvX/jORwGowjQT6DaOaSaYx3/yg/1xlMpVCLWkFub ts/jF4iVUg+e3MQDwN4IncnqqeDqkbttyTXVmO1uzq8eJKGfCKT/3WF/fCIki/pLPtWq T+oTLgSfnG8Y4siXI7hnptaYa6qk0IEZYgqy4jocbHju831eW6s4cDNKywmqlmIfpBBx alUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=KTrTRgCSLG8ZAMxFABOwYXmXq2dQhUxb1IFZsxVFgUs=; fh=+W+h24UyqrvCEgcJUSCSBCwhRFkn2iVTZdPAA+CSSz4=; b=edmoygHOqqeSn+TfKMsa6fYQO102J7cOB0l3t/OoEr74BcpGX+P3HhgCEv16WSOFiw y9+auX6QRjzzsO3lzNw1BC6nT1BNAXCfVyU02l5Vfk6a68/iOf04mduI0a9W7eEsQn+z W05wGiqAoNlZth3vCkqPAp/rNmoW4aYJ5EixVWnzILe/ChinHAP/1rE1P/P1yGaBLanJ /zwOmiePiuQm679qo2dJQm4G3xwPT5SSwEhUCv55jHPMqvTEL2U9pHlqM+WE9Gfaphqq t3yz9i6j42zDaA1BTb9b0KWwFkK3wyfhRA6ne7u5qqOtPAubCfwCek+IUzS6UezUEEKe tjLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a170902744800b001b89f653005si11052760plt.394.2023.08.02.08.02.48; Wed, 02 Aug 2023 08:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234015AbjHBOgh (ORCPT + 99 others); Wed, 2 Aug 2023 10:36:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232807AbjHBOgg (ORCPT ); Wed, 2 Aug 2023 10:36:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8109819B0; Wed, 2 Aug 2023 07:36:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1F8FE619C0; Wed, 2 Aug 2023 14:36:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCC56C433C7; Wed, 2 Aug 2023 14:36:32 +0000 (UTC) Date: Wed, 2 Aug 2023 10:36:30 -0400 From: Steven Rostedt To: Ze Gao Cc: Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Masami Hiramatsu , Namhyung Kim , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org, Ze Gao Subject: Re: [RFC PATCH v4 1/7] libtraceevent: sync state char array with the kernel Message-ID: <20230802103630.45d95c06@gandalf.local.home> In-Reply-To: <20230802121116.324604-2-zegao@tencent.com> References: <20230802121116.324604-1-zegao@tencent.com> <20230802121116.324604-2-zegao@tencent.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Aug 2023 08:09:56 -0400 Ze Gao wrote: > Update state char array to match the latest kernel > definitions. Can you send this separately to linux-trace-devel@vger.kernel.org? Thanks, -- Steve > > Signed-off-by: Ze Gao > --- > 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; >