Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4927125rwl; Tue, 28 Mar 2023 13:22:37 -0700 (PDT) X-Google-Smtp-Source: AKy350ZyDIVOQEvPEGWrcjMwy/N2A8PaJsfWH0STX0B/3f5lkZmAUqloZbburnxiygK/WD12QJyJ X-Received: by 2002:aa7:db96:0:b0:4fd:2ad2:13c4 with SMTP id u22-20020aa7db96000000b004fd2ad213c4mr18273265edt.21.1680034956963; Tue, 28 Mar 2023 13:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680034956; cv=none; d=google.com; s=arc-20160816; b=C/fd9WsIyVPg4Fk2gF2j2LgWKbsjBTAZGIo+l+Qv91mvui0AaSV1kDl56tB3Zm3wNj reAQPLCqnegQeBPiI+LyE6v6ZFTFOL1TxG2iE59ZkKrnn2yWjkO36fKkbyklDuUwyB0E QxBoMmkA9/v79+tM86sgxQze1SF9gfq25nQ1avVw8rq+GgzvRi28dUxVAP91IoY6YcHU E8sGqpR2FAZcdajPBdYMAdTTnO90tzk+ddvTDsGy3T0yvU7QL5WJoa5op9SquqeBqcVC ComOuXFmKBUIaDrYcwfL0SFnolK/8MqV8WiALOxeL18GcpH2zEWua6/HcgST8ct10W5k xfBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xs9rIqz4icQtpsyTHT/afoQ2+L4LKgHUh+aBN2omyVo=; b=izM+LTv8XoqUUfLya8hBK8VtgnrA3dHY8XuQnQv0c1AwlDmU96KMDuekOHw7TjGsFR 8UvLQR10BHV1gJsEkOu9P8Nw4tHU7lHgJFJCXr42Me57jpA6J4TGAyPJ5oroyevzuz0v SRm1B8NCrl9lwtvE2fQUCCtvzDKHPqufoSjrfk4L1DzqQQF4Fz3vlY14eUDhT9qDjcKu wxVebedx6vgJeGhdQ8bTNmEkEGVHf8pwmdNIsLdUAgXeAfTkmkS4lKtwISYbVh5s9LUj lT91QHe8iGINgjf5w9FJmvoBHcdGuYb54k8iwQLDQNdcvE0S9Hw4WLoZQZdxZWydyJTL 4aOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HnFfjScw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d2-20020aa7d5c2000000b004acc29f65absi31547952eds.452.2023.03.28.13.22.11; Tue, 28 Mar 2023 13:22:36 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HnFfjScw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbjC1UTt (ORCPT + 99 others); Tue, 28 Mar 2023 16:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjC1UTl (ORCPT ); Tue, 28 Mar 2023 16:19:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26A2510C2 for ; Tue, 28 Mar 2023 13:19:28 -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 ED28BB81E5F for ; Tue, 28 Mar 2023 20:19:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62E5BC433D2; Tue, 28 Mar 2023 20:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680034763; bh=c4X4UarW8BUeoFTnNxKw16LGyvWcYJv8v6XPLNTgq9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HnFfjScwgUayrZeU+4+PotXmOMlcQ0uQvWx4X0mQyTi+0UIOY/dUvlQOFMoU4NVga m0z4w/3ScXappDc9CQry31E4r/P9I3Ihj9KGIF1AvrVVpXxROK2VA+MLEk2fzD2R7g O9zpdUlwkl+GBmIUPgzScDLaAjxgaRwIbEcy8X44ktejkqY8yYl8NdQitfnB9lUboM DA3x4dmg5YgYhFNCcSHE3TliqCNqWWd8X41/OHT9GTGSlbAZNQmSRShJIroxSzuF/d +w8STkDOlB/gFcccD7SbXKkvJjVSaHffea0df3Gc5gk2NycZQ2DZCGCT068cYy7IbJ Aom7BAdrGw2XA== Date: Tue, 28 Mar 2023 13:19:21 -0700 From: Josh Poimboeuf To: Peter Zijlstra Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: Re: [PATCH 2/5] objtool: Combine '--backtrace' with '--verbose' Message-ID: <20230328201921.ccl7p65le5aysa6j@treble> References: <20230328080743.GC4253@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230328080743.GC4253@hirez.programming.kicks-ass.net> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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, Mar 28, 2023 at 10:07:43AM +0200, Peter Zijlstra wrote: > On Mon, Mar 27, 2023 at 09:00:45AM -0700, Josh Poimboeuf wrote: > > Get rid of the '--backtrace' option, instead including that > > functionality in '--verbose'. This makes it easy to gather all the > > information needed for diagnosing objtool warnings. > > Hurmm.. can't we have verbose imply backtrace but keep the separate > option? I'm not sure if I always want the objdump thing -- esp with > multiple warnings on vmlinux that's going to be really slow -- better to > dump the whole of vmlinux.o once at the end. That's a good point, vmlinux would be unbearable for multiple warnings. We could accumulate a list of affected functions and then supply that to objdump-func.sh at the end and dump them all at the same time. objdump-func.sh would need to be changed to look for multiple funcs at once. If I do that, do you still want the separate backtrace option? -- Josh