Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp216569rwb; Mon, 26 Sep 2022 11:18:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TBW0R/c5Dx6tDCPfaIYLNFxYBz+LXhDRCtdbUBTd0ko0e7RuJi++zckxsD2M0I45PbscM X-Received: by 2002:a05:6402:ea0:b0:454:38bf:aa3d with SMTP id h32-20020a0564020ea000b0045438bfaa3dmr24367956eda.291.1664216322269; Mon, 26 Sep 2022 11:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664216322; cv=none; d=google.com; s=arc-20160816; b=tOqYl/dpXbzMFGJyBL/2uGlqBqgYJSUgPEJhFuFzNGPlYg0qLHGG+URdmJMNEZcQQQ 55wytgSUuNhOMqxSI5TZiATd+QstYjYFpu4+Dsq69pDQkNuePDlY2nF877OwD5aOUD9E DoW1Fsnb3TRaWziNNkPt4sF/7M7k6Oh82owLWuPaZzVGflX6ZpwAMOV4CXlyT19k85w0 zE2+2PaFEDcb0YhC+7dL3Wz3dqeK+U1h9AvAwmeoq3yRGm6Uv0rQEy0kSd1sHp5cCHtC 1dTSaXV97L1KrHE3pGf87lzjI/B83SeKXCBPy9+yVhESww7P24KXWFxYFJtMkXaihDxx PmeQ== 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=bdAGeNuO28cHuNwnQnzdyufMOZ33kKixiokYYLjEzVA=; b=GLG/hZqFrUIXa8zXAFBp6kVBUzolm5VAlP1ZL1HZjak4OuRfzMf5WF6F9d5YJWpR3p eXewHj+APnhksru1BQ6DNvGK0cMdFI5aeKa8pYHAT9djh3JjvPw9rHs0lY2gLGEKqP+S TPgCuSWJ9VmsQ80xEh1CV9HFb0b6mBrmUazt2TUfSlu41lskuPE+KUhPEmiFDDAest6K xas0O+OodNcKtfTwXACXuPu4CThV9F3rIN9G64PUunASNS3h8ekG5U4KAeBs4HTS09UW n/Poa/RFluOMWrRVrlsZo3PNiIwoug65cli6FDQhvgCo97093shVIhl/abma0a5hkjVJ 899g== 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 i11-20020a1709064fcb00b0077e94a4867csi427371ejw.796.2022.09.26.11.18.16; Mon, 26 Sep 2022 11:18:42 -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 S230413AbiIZRV7 (ORCPT + 99 others); Mon, 26 Sep 2022 13:21:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbiIZRVi (ORCPT ); Mon, 26 Sep 2022 13:21:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0877F102512 for ; Mon, 26 Sep 2022 09:35:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 267FBB80B30 for ; Mon, 26 Sep 2022 16:35:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6F9AC433D6; Mon, 26 Sep 2022 16:35:41 +0000 (UTC) Date: Mon, 26 Sep 2022 12:36:50 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Nadav Amit , Thomas Gleixner , linux-kernel@vger.kernel.org, x86@kernel.org, Dave Hansen , Borislav Petkov , Ingo Molnar , Nadav Amit Subject: Re: [RFC PATCH] x86/syscalls: allow tracing of __do_sys_[syscall] functions Message-ID: <20220926123650.3b29d1a4@gandalf.local.home> In-Reply-To: References: <20220913135213.720368-1-namit@vmware.com> 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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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, 20 Sep 2022 11:47:11 +0200 Peter Zijlstra wrote: > #3 I think Steve's concern is that the tracability of a function then > depends on the compiler's whim -- but yeah, who cares ;-) As I mentioned in my other email. I was tired of the bug reports telling me it was a bug that a function was no longer available for tracing because the compiler decided to inline it. By having notrace on all inlines, it made it consistent no matter what the compiler decided to do, and those bug reports went away ;-) -- Steve