Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1694655rwo; Wed, 2 Aug 2023 20:08:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjIed11G1bTG2Vh9dLvQ2GgXWv2UaN4+Ys8EY0h2jH+1y7Z+xvn2RhCc4bo823AotOkTbc X-Received: by 2002:a05:6a20:9151:b0:13a:dd47:c31a with SMTP id x17-20020a056a20915100b0013add47c31amr20959180pzc.20.1691032134814; Wed, 02 Aug 2023 20:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691032134; cv=none; d=google.com; s=arc-20160816; b=Nj3I30lf4asQp8QPyCMHb/NgaB/CXm8xzF2nfYC5Jn71MeOCr0Nf41mRJ5X7nINvHX cHH7ygir7+cxZBlSa1JRC8agYVSJSqMG6VIQYsQ2ijqMAB8iwaUC2R0TJY7nmSBpSIRI +B7voI/SpRsuA5EOP6NWYE7Vdg7EH38XryMkayTA6/72RXYBjMK/Pojza61Apwd5QOa1 Py6TfU/+IsFuR9miRdyvuZGIl4joOiPlNXsQp3QIMRdkh1glAXN+KDAU5QgJTUHyp9uG QFMcr/gptc+/nj+Xd6rhcLFtC5RYC7M0KVbAHibhIGqkOndaXBGjp+Zy3fL372/HlWFy 191Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qr8l99N0UAXqm7iLRTOZb3Ym1/MspXtXvjO4SDDXucQ=; fh=Oht4GR3B1b7NI21IyLQZIButLBGV9Tz7mVypv5Sb+0Q=; b=w/4+dcVX98cmXwLRHddjmtSzlO8afV3auSvenjBEeMoLmJx75rgfJKHerVY+enO/Ix EV+aCVkXeylwGalvIQ/Bll+v9FTpi0+wWb27Dm/6ksCjKSRnvfSdqiCFqusRLdmCypGo Q9EIIkl+hQezpAZxCDAsmkb7K8W4D+Z95bLoFSAnMgq+qIQdwRA0oAnYTILmWUT2CF8N x9iAynyieG5MA+GLb06UqaXfP2lEX5GQAjeDZ9+Mub2wPZZxIpHC/7/ztRo09GpUyJLB gZ1/vrUE+BHfDPMAxHGzXCG9qk3ccHvZLITzmBDsqoP0tpoRv7Sg1j/kmBg3wJbxKoSH joCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PzkH9q21; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00563d4e61773si1318125pgq.812.2023.08.02.20.08.19; Wed, 02 Aug 2023 20:08:54 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PzkH9q21; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231334AbjHCCNb (ORCPT + 99 others); Wed, 2 Aug 2023 22:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjHCCNa (ORCPT ); Wed, 2 Aug 2023 22:13:30 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BAB319F; Wed, 2 Aug 2023 19:13:29 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fe0d5f719dso769449e87.2; Wed, 02 Aug 2023 19:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691028807; x=1691633607; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qr8l99N0UAXqm7iLRTOZb3Ym1/MspXtXvjO4SDDXucQ=; b=PzkH9q21FzCw51bdRZa3uYtTqOt8jJwtm7l7OqS5dh9RpTR07ZjHRaDjM++rvV6V5B iBISJFND0y+gETvj9BNzEZ5kAIfd1hYGvql1JxqlTpNQBGZADTqzFymQQKo2acxMX1Ve OEPjU6e9rLY56BnQmQgras+/CUisU+1zf7MuqI9Uut6b/E75stL79+jt43zc0407WgiN 4PD0Rp6nS7dX7PJJ+yCyYThIzJa+CQ+gDTWjP3HbqywJTip+iLThRQGgFij4DcABP98a IFuNSf39ukMf9yndshXSTmMOaVXCJVlnK/K4AQqyuytkMtQ7HonneRSNeg8+9QhL9hOY MMZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691028807; x=1691633607; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qr8l99N0UAXqm7iLRTOZb3Ym1/MspXtXvjO4SDDXucQ=; b=DXMvyfbJ9uaSPAGr2EbvDzC5MuXy8D9e7Y3fPxlmoa076CZ6oK7MGdkgfi9B2Gymqm NMCgTbm9yPjS3eiKyAAZl1z+dHOSGzK11pDbsgF9vTgljUeUCvDGKWK4PzrzMjDSFBh1 l4JHvqpzq74FkNM2CDdRKHQn+vd2fwyF/qi/61cMQpp6Ck2ln/xA44ngmPcU5asNeJpK PXcMjg8A6YkKZyXyDDsRxxkQi9sCs8ZBki+/8NzsE6vMwOyOormeZTmBjDaWYT2X3AXC OFjzNa7VG/MNkdxVXnwq17+pTLI5cqbZT7O5e3/IkskwpLBVY8wAOPoynm+TlkLvRyEK 1iTQ== X-Gm-Message-State: ABy/qLbBNeOG+mdMPQH5zxnQ690Pi4kwQBT/3QDBGoC2Thej+vA1qj+E rlHDRodnUnkndOYhjhn6mxa7G1WsKFQ70+MrfZI= X-Received: by 2002:a19:5e57:0:b0:4fc:6e21:ff50 with SMTP id z23-20020a195e57000000b004fc6e21ff50mr5442878lfi.55.1691028807352; Wed, 02 Aug 2023 19:13:27 -0700 (PDT) MIME-Version: 1.0 References: <20230802121116.324604-1-zegao@tencent.com> <20230802121116.324604-2-zegao@tencent.com> <20230802103630.45d95c06@gandalf.local.home> In-Reply-To: <20230802103630.45d95c06@gandalf.local.home> From: Ze Gao Date: Thu, 3 Aug 2023 10:13:16 +0800 Message-ID: Subject: Re: [RFC PATCH v4 1/7] libtraceevent: sync state char array with the kernel To: Steven Rostedt 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 FYI, I=E2=80=98ve already cc-ed to it. Do you mean I need to resend this p= atch to linux-trace-devel@vger.kernel.org solely and exclude this one from this series? Regards, Ze On Wed, Aug 2, 2023 at 10:36=E2=80=AFPM Steven Rostedt wrote: > > 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_switc= h.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[] =3D "SDTtZXxW"; > > + const char states[] =3D "SDTtXZPI"; > > int found =3D 0; > > int i; > > >