Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp144464rwb; Tue, 25 Jul 2023 13:20:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlH9PzVVfdYKrq3S9koJ/Z47bCIkXdnXIKW5LqtcTShSycPMH9u6mRHAtCg5M1rBEJa6tl1V X-Received: by 2002:a05:6a20:104c:b0:121:fd18:4b51 with SMTP id gt12-20020a056a20104c00b00121fd184b51mr94715pzc.36.1690316423370; Tue, 25 Jul 2023 13:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690316423; cv=none; d=google.com; s=arc-20160816; b=nsuwMht7gjkVBgxjrCdMbUz6oPrDTicCM2ugjaD4KE23RkwIky9EGq0Vq4z7eAX2Sr G/kwTGUZn6kh7uMest6zCa65ys2KRRz22ln4Qv5d/aqMiYPKOxzggwZIg6kLKzF2ABBL qAKUmLUfu9+8oxWWxgBVOJYwJKq1mYs6ikFZYCzEXxXkLtMLuS77m1gzPu2NXYSZ+IeK /kyboZtv7usnveniha2Zk0hFzwzLlcIF8ANxrLZ+md1skDGBSkByzQhsmAMRu/LHDy3e coHpZF2BRLyxjvXHgp5NyI8opFltPB6+zq6dF9gFiThQJ6GBhdI8wIacdPyvHD9kdbH7 lhZw== 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=0/nDne4lp2bmvP97/Bs48OSYbYiw+hIj46/uvFKWj40=; fh=htm8egfxuN4vyWXeroML6p0FIRN0r3I8WI6I6IxIlqM=; b=cROnpqLXqG4EpiVdR2HjkYMdVb0s3PztavQdu1/LQSiMwioIzvyhrNYyD6TEsteJcA P2fMMOGDg/Neq/xqFi8isbFTo3ZPhfRHbYon1Xiff5sfsS1Qv0RoRj63lkGqPhRYuAGs 6JNupmJh+lerwFBGVidjm42TIBBBhq3aJQ0SlnPdU0/JT1mPwqlAETCehEJI5orI3PNX ZX5ZNHTp8l1sLSxea8V362dimeLT1Bg9PW66yzq2NqCptpIZJAUVRfSrmADltatExKgG AphgvFfggicejNhsCbr8R3JwBip3/tr5BZcgqBQVyH0hqVfIWT/CzUPKN68sEswMsYBf BRbA== 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 c124-20020a633582000000b005637e28270fsi11008623pga.243.2023.07.25.13.19.49; Tue, 25 Jul 2023 13:20:23 -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 S229752AbjGYUNi (ORCPT + 99 others); Tue, 25 Jul 2023 16:13:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjGYUNh (ORCPT ); Tue, 25 Jul 2023 16:13:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34D4B19AD; Tue, 25 Jul 2023 13:13:36 -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 BD3B7616A3; Tue, 25 Jul 2023 20:13:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9279C433C7; Tue, 25 Jul 2023 20:13:33 +0000 (UTC) Date: Tue, 25 Jul 2023 16:13:32 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Ze Gao , Ingo Molnar , Namhyung Kim , Ian Rogers , Arnaldo Carvalho de Melo , Jiri Olsa , Mark Rutland , Masami Hiramatsu , Adrian Hunter , Alexander Shishkin , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Ze Gao Subject: Re: [RFC PATCH 1/3] sched, tracing: report task state in symbolic chars instead Message-ID: <20230725161332.34ba912a@rorschach.local.home> In-Reply-To: <20230725133100.GL3765278@hirez.programming.kicks-ass.net> References: <20230725072254.32045-1-zegao@tencent.com> <20230725072254.32045-2-zegao@tencent.com> <20230725083357.GA3765278@hirez.programming.kicks-ass.net> <20230725133100.GL3765278@hirez.programming.kicks-ass.net> X-Mailer: Claws Mail 3.17.8 (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=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,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 Tue, 25 Jul 2023 15:31:00 +0200 Peter Zijlstra wrote: > > > This is a format change and will likely break a ton of programs :/ > > > > > BTW, could you help to point to any possible tools/programs that would > > break other than perf/libtraceevent, because these two are the only > > users I run into so far. > > Latencytop was the one breaking a few years ago, but there's a metric > ton of sched_switch users out there, this is bound to generate pain. > > Steve, you remember what the status of all this was? at the time > breaking this was considered on par with ABI breakage and we reverted or > something. Is this still so? I did reply to the patch (before I switched to thread mode, and notice that there were already replies ;-) Pretty much all the tools have been switched over to libtraceevent, but some just copied the code internally. Although, newer code (like rasdaemon) are moving over to the newer shared library. Anyway, I did post a possibly solution in my other email. -- Steve