From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F97FEB64DD for ; Thu, 3 Aug 2023 14:45:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235855AbjHCOpp (ORCPT ); Thu, 3 Aug 2023 10:45:45 -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 Precedence: bulk List-ID: X-Mailing-List: linux-trace-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