Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5190698imb; Thu, 7 Mar 2019 09:39:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwQMX8oYMfosH/Q4DSfyqnw4IO8zWVsgqwn8Zq98rYikYJpXcaXFs8MU+v23QyRga4PpQeW X-Received: by 2002:a63:fc62:: with SMTP id r34mr12491298pgk.154.1551980367341; Thu, 07 Mar 2019 09:39:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551980367; cv=none; d=google.com; s=arc-20160816; b=sWidCHx4GffOhnmNHJscHags8v7IR+IEw1vndIOW5oDQvtjhYjMaFwpfh23+hab6RK NPSTxr6WHCqmjMLWatGoUSQIWBQsKJweR8+eJ2bYavJpBtos3rkdkTzZaSvJ1iRFpWwF fylN4cwrmm42FnQ+314iOgBAuzJTpBfAb9S51qSIEAvOhT3bdI7/YLvIy8zwX7HrNJoJ vxEeNO/kGMtMEd++xtZoqTNPLdyh7ix8LJVgVhYE46hUxMDbRE/7/9Tj7/6GtNxqxVyx S/je68arYSXL6AcjgffR/RInXG5GFil0U31NEdbFLbbnDizRfXCrP2/SX8QIf9OjQEVX Ys/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2bjsc85l/P3sWJy9LA97uh1fbTulfsF6oCVTsZ2XWUw=; b=ZeiC5W+7dpGI4EfqGjXpCZ4FgZ4y6PcKoyp1aRh0noTvhyg5PU1V9aOA8hHH2ejRsV EhQAv3mEhDRjV73ogrN/pOwMPArJphlorQwb4GyIbuscK5qJ6Xapb0V3hu/1sUFWbF4l BI9kRGFRgEV4EJmaMI6JPkAHRhyVa3egu8QxgwqEzBU0H/bM+REzhbyMvUYcwMV9S3t/ OeAnUXSSq9QZBXwt9BO+l7vCPe55ykbvceD+WZb7YLvz9S7WP4NjeQ02fWw6o/c65XEN b6fQYYKBWsWC2Ne3B/RV5cIAETHQ/5g5hVgfb3KA+k+9rt5m8qinb1QTL8lGJqFh38QT oNpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JGBOdgPl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si4889568plb.230.2019.03.07.09.39.11; Thu, 07 Mar 2019 09:39:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JGBOdgPl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726422AbfCGRiZ (ORCPT + 99 others); Thu, 7 Mar 2019 12:38:25 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:43826 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbfCGRiZ (ORCPT ); Thu, 7 Mar 2019 12:38:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2bjsc85l/P3sWJy9LA97uh1fbTulfsF6oCVTsZ2XWUw=; b=JGBOdgPlxhlu2hgQXSNXAWi9R ylm3xDSH5MT9WEPRdMGYxOeWKnU9JS/1Dw/NH+u50mhaV3ZOBCKAv/JQGTFLHbio7o9vwqd2Lgm3s T8dqqAztRI4pfKYwY3uw4YeQ3gYi0RsxlvuBiqQC1D7mqQQUMlP/ue5fVYeRaAL/0EZ72lWoEjKbu 6kkBbWzm53wnNc8fj94a+ZPF1XIifEYYdi4a0ntpLSS9xCRV0pBLkmk2MioI4r3Ewuzyf7UJTkkVS LYqkTYVzbu/VCL6eE/IJxAaG2fw1uWhfv1hWFYiqmUmQ6q36IzxYaMlYwQ5mFvW0oej+SQB1AJ3BR w6OfjSo6w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1wyC-0001VG-9U; Thu, 07 Mar 2019 17:38:12 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2B0AA2029B186; Thu, 7 Mar 2019 18:38:10 +0100 (CET) Date: Thu, 7 Mar 2019 18:38:10 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: Linus Torvalds , Thomas Gleixner , Peter Anvin , Julien Thierry , Will Deacon , Andy Lutomirski , Ingo Molnar , Catalin Marinas , James Morse , valentin.schneider@arm.com, Brian Gerst , Andrew Lutomirski , Borislav Petkov , Denys Vlasenko , Linux List Kernel Mailing , Dmitry Vyukov , Steven Rostedt Subject: Re: [PATCH 00/20] objtool: UACCESS validation v3 Message-ID: <20190307173810.GI32477@hirez.programming.kicks-ass.net> References: <20190307114511.870090179@infradead.org> <20190307120317.GD32477@hirez.programming.kicks-ass.net> <20190307125526.GB32534@hirez.programming.kicks-ass.net> <20190307131312.GC32534@hirez.programming.kicks-ass.net> <20190307164705.qbu4ytdfdmsighas@treble> <20190307171709.dap5hfeof4yo3nsc@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190307171709.dap5hfeof4yo3nsc@treble> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 07, 2019 at 11:17:09AM -0600, Josh Poimboeuf wrote: > On Thu, Mar 07, 2019 at 09:00:49AM -0800, Linus Torvalds wrote: > > But that macro really is the macro from hell regardless. > > > > Do people really use CONFIG_PROFILE_ALL_BRANCHES? > > IIRC, Steven runs it once a year or so... That's TRACE_BRANCH_PROFILING; PROFILE_ALL_BRANCHES I don't know, that mostly just gets in the way I think. Also; it seems to me that something PT, or maybe even simply: perf -e branches -e branch-misses would get you similar or sufficient information.