Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp78498rwr; Wed, 3 May 2023 22:56:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gTt9cJcXMZ/3IsVPptrlMbqX0Tg/3Op1oPGmebX1GDSZJcXp4aUq7zsGtnqIYckCIzKAx X-Received: by 2002:a05:6a20:ab89:b0:f6:4c16:f7fb with SMTP id da9-20020a056a20ab8900b000f64c16f7fbmr1045768pzb.47.1683179804602; Wed, 03 May 2023 22:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683179804; cv=none; d=google.com; s=arc-20160816; b=piwfGLQF9wAbsX7A11TM4oi44nxwAX7X3C69vHg/CyFy089eKQIy102DI0rSZtJJZY zD6yo/Yr6A+lpjsQv8QDKRlEsDk8XdeH8sKyeDEZHswc9It/15+VAtxxTKXXKQsa59Sw Pt79/zkEOoozY6JsXhoFiIexFtBEnHLU5PC7OYNvj5Um23Q9138ErPYR5ElUbEjEOW/U anD9LfY2/LQU6kJsG2KZ5lXg++dUSrtMPdEbAzMSZ2L54WnYbvFKf1z9I9LQsHuofanN 7xU444L7EudDww8mEKfvxQdcxyEPqpY1Jd6i2/upvvoOm0SOIXau5yYo7toHZqIqTqsF kF2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2a/HKc7PwjD3Q1+TFgDiavZuTOvfNjVC4H3DeHGWxqE=; b=NItI6iAB9l2fx4/RWw5BzEV1veMYvjyBXlAlHyc4XWBj9NzXbtKjpuhFzUjncLvZRr fLRk1rIfQZl4sQGp+xOCUytrkVQ5r2QXJWOPl+MYt5VJt3pek8Ki9qB88W5dUuNUgodF 163UhXoI33B7yxSSJZlNtp180GlySVBgJUBYmuotJDGk0KUyb1eYde/oNjFvA/4eT8oq s7k4KtDbwq9x1Azj/w0mA2M5ek3A5E1fKgiZd4my1tyBwizYtcqlKcaxo/JJZtGfecF9 J+SuX0dLh5Pb9mVSLsz2qPlvBpDkEp2zAW+i8PEOcyKOBDrWf/7PGGD6MHmdWC7mcmIt ELqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=LH2HjhcE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i23-20020a63d457000000b00513dd391d42si34895534pgj.657.2023.05.03.22.56.30; Wed, 03 May 2023 22:56:44 -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=@google.com header.s=20221208 header.b=LH2HjhcE; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjEDFvb (ORCPT + 99 others); Thu, 4 May 2023 01:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjEDFva (ORCPT ); Thu, 4 May 2023 01:51:30 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79C581732 for ; Wed, 3 May 2023 22:51:29 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-33164ec77ccso250355ab.0 for ; Wed, 03 May 2023 22:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1683179489; x=1685771489; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2a/HKc7PwjD3Q1+TFgDiavZuTOvfNjVC4H3DeHGWxqE=; b=LH2HjhcE1aiNhuDmkzmvtFKwez04ywqxfNU0XsOTpoU4jsErIKayDaTBVIHgenQXbB 61SRlNRFoTQYGekDGPq2XB4l5VNK3WtqNszovEr06FTnwRx8kVLcz74BWG3Uj2Nebg/x /O7YucZJhf9TGAAea3icWANPYMQKpYKxsx+w2g9V9gFx40vEIYYdYc7Gg1LwWvcoGzQe JRsYq3YZlnq/U14o18qNUqhC3yx5BN5k0xmlc79iM37XsmbvzKJlA8hfTS44ezXWjd7J EbNnKXo5E94f+RXbDeTjxP02hhWdMehNFiomiJLppPxxFGiNoo71oRVY7CyoGWu6hXFk o8gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683179489; x=1685771489; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2a/HKc7PwjD3Q1+TFgDiavZuTOvfNjVC4H3DeHGWxqE=; b=Kf3ju6FUxS+RrDJ5JaictboW6m7rt3z9pLIFSYHKjKgB3+dN5263b03WS85DTmB+FM Wp5SXO2xlOEr5Ldd9KLx0O4zLoCJSpegxxavqrug0J/ZhIXAzgCgomssZ5dJYMZJVolw MpLB0EYT86ELO7dAlEvQVv7wGicG/kLzsHued+5PDxpZAAFYKSk5KY20y5QmmyD6NLvz ED/EzLb3/V1WHq0H+zhNV5b867oK7LGUZ8fIpFPdLBrtC50yd8bbIZBnb2McUr+g8fLO x2JUhMJLskR1rPZ0OJbX/hgm5qZ++ytpLgf6L7qiVEjzj7kGwlX416kcLJm+HnRiXsy7 CU5A== X-Gm-Message-State: AC+VfDyrgZzxLAVsP1eDvolvK4uO//vCZFUaxsTEgwmCZuDp0Rurmojp AQFCW9v7pe7yo69RpW06TZd37WusJgtbVSVFoI1drw== X-Received: by 2002:a05:6e02:18ca:b0:329:3f69:539e with SMTP id s10-20020a056e0218ca00b003293f69539emr208186ilu.2.1683179488546; Wed, 03 May 2023 22:51:28 -0700 (PDT) MIME-Version: 1.0 References: <20230503211801.897735-1-acme@kernel.org> In-Reply-To: From: Ian Rogers Date: Wed, 3 May 2023 22:51:15 -0700 Message-ID: Subject: Re: [GIT PULL] perf tools changes for v6.4 To: Linus Torvalds Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Thomas Gleixner , Jiri Olsa , Namhyung Kim , Clark Williams , Kate Carcia , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Adrian Hunter , Changbin Du , Hao Luo , James Clark , Kan Liang , Roman Lozko , Stephane Eranian , Thomas Richter , Arnaldo Carvalho de Melo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Wed, May 3, 2023 at 8:12=E2=80=AFPM Linus Torvalds wrote: > > On Wed, May 3, 2023 at 8:00=E2=80=AFPM Linus Torvalds > wrote: > > > > I did consider it, but the end result doesn't even build, so I unpulled= again.. > > > > I get some libbpf error, and I'm just not interested in trying to > > debug it. This has clearly not been tested well enough to be merged. > > Side note: its' not even about testing. > > The error message makes it clear that this is garbage and should never > be merged even if it were to compile. > > There is not a way in hell that it is correct that a 'perf' tool build > should ever even look at the vmlinux binary to build. > > The fact that it does shows that something is seriously wrong in > perf-tool land, and I will not be touching any pulls until that > fundamental mistake is entirely gone. > > The vmlinux image that is present in my tree (ie > /home/torvalds/v2.6/linux/vmlinux) is a test build with an insane > config. And the fact that the perf tool even looks at it is seriously > broken. > > Whatever you are doing - stop it right now. > > Linus I think the error you gave makes it pretty clear what is going on and Arnaldo's e-mail explains the motivation. Perhaps we can check a vmlinux.h into the perf tree so that we don't default to generating it. This would avoid the binary dependency but we may need different flavors for different architectures because of structs like pt_regs. Thanks, Ian