Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2373480rwo; Thu, 3 Aug 2023 08:29:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHQjX6g1Ntl/cYMBRp4jLTRrV1U53k+lRI0c+4RvrTA8Ive8SL1BGb22bmvCPCBsDM9r7bQ X-Received: by 2002:a17:906:5398:b0:99b:c8bf:3f06 with SMTP id g24-20020a170906539800b0099bc8bf3f06mr11826787ejo.24.1691076575471; Thu, 03 Aug 2023 08:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691076575; cv=none; d=google.com; s=arc-20160816; b=FJ+OWBfVy7HDyBOH0c0TrWv0Zzg2/RVlO9cJO+A1Ux3d+zqYbUP3jSQQUY9HsvUSxO t1r4zDfCI+Nwp8lqChueYE+vBdD//Q/jbnXmq2Mts7SqcaG8sY0BLAdnMAw5YJwhbSHX FGdq0JrNhtaAE+4aHL2owg99ZcvCEOblWEqapmDjHQeL2qGMTWQ8dPfwOQC622rORlUV JVzzjGKOhcsIA44UJv6QvTepyUsDib9osd6r7xmePZ+yxT8FSIRvb5QfW7HLYLQYPvII Co9fun1/TIWIj/duuF9GU3QV6KT940BrcCdahrzwG0vhaAmfA2v3L8go+q0DV433dHH6 Lilw== 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=x2QonV+/hvpRNPw55BC+razeYJ/XUWWHCbGdAatnlfc=; fh=xVhjb44y/wj2NeSuQv6/cWFVtrLpQFSToSvtdNmKRUk=; b=tIEdk2lI4tX9Au8JPcD2tfB0TsGWnCwA2O/VMEvqhkKRR8ND7l8uB8xoYipVbROxEw /aa8P8vrXy1PjvSCWViRaFCdbgsPU5pRxxOE0+wDGR3Wz0zPNcyirTUKTveCa8ToC5Nx NIjjreRL65+1lmeyu1zeAbV7Uhi0IYnT1CLyI7o9sxPbR/oZUdYK5j7Q14mR2h54E2Kh qP+exvoK0lqJTjSV7V73YP+oc5acdBnxa+ciOAdJr2QWtNr0d8eLaoI7J3uptZ3b8JrO xWamFf2qmXWTmPqLJVSkqWCtiMdzYVKDoarg53pyRpLmz36EmOELcri4PdOoqSsuo+MX DRCA== 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 n11-20020a170906088b00b0099ba3bc37a9si11978571eje.377.2023.08.03.08.29.09; Thu, 03 Aug 2023 08:29:35 -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 S235101AbjHCOpq (ORCPT + 99 others); Thu, 3 Aug 2023 10:45:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234450AbjHCOpo (ORCPT ); Thu, 3 Aug 2023 10:45:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF94A1BE4; Thu, 3 Aug 2023 07:45:39 -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 5D5B461DD3; Thu, 3 Aug 2023 14:45:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 380BCC433C8; Thu, 3 Aug 2023 14:45:37 +0000 (UTC) Date: Thu, 3 Aug 2023 10:45:33 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Ze Gao , Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Masami Hiramatsu , Namhyung Kim , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Ze Gao Subject: Re: [RFC PATCH v6 3/5] sched, tracing: reorganize fields of switch event struct Message-ID: <20230803104533.2c95ade2@gandalf.local.home> In-Reply-To: <20230803095132.GI212435@hirez.programming.kicks-ass.net> References: <20230803083352.1585-1-zegao@tencent.com> <20230803083352.1585-4-zegao@tencent.com> <20230803051826.25ba7973@gandalf.local.home> <20230803095132.GI212435@hirez.programming.kicks-ass.net> 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 Thu, 3 Aug 2023 11:51:32 +0200 Peter Zijlstra wrote: > > > > See the difference? > > This also doesn't mention you broke the data format for all trace events > a while back to ensure people are using libtracefs and are thus > confident this won't break things. It was the meta data that happened a while ago. As other events change all the time with this restriction (keeping field names around), I didn't realize that it was required for this change log. Doesn't hurt adding it. More details on that: commit b000c8065 ("tracing: Remove the extra 4 bytes of padding in events") This was to get rid of the padding that powertop relied on. Nit, it's libtraceevent not libtracefs, as libtracefs gets you to the format files, but it's libtraceveent that parses them. -- Steve