From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 784101BBBFC for ; Thu, 10 Oct 2024 09:11:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728551500; cv=none; b=AihASHaLHY3qMBxySZMi2RJDNwxoz7T3WwIMVAFk4tFEWHyYKZ3GlKZ56FO1nNYUd0ne/rhAKmfg6PA2cT0Jw5DCtx3rEuApYSCekbFW6hjQRWnhEAK1dVes2zEtedyjZONPfKO+OpnlZPgLVxh2pDLkrO0A5WbRbuG/FDvGJ8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728551500; c=relaxed/simple; bh=lop93zME/MAk20ShSlwDXy/fimaoKZNuh+nrwS45zjg=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=FYCcVwh7uSUOlF7p63K9zAzFUObVDrAroozZUQC2uedZ0RF6DcQ5Pss68P5B4aTr7g0VPOnAWw8gKiSNhJt8PsV4OLP6u/IgToHWO1PYYLPLOCj/V1mV14Jg6h1g3spHyG1qc2Skzgt6RnFfMHYZeHk+hP74wyuu5Y0c5C/NacY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ehEAcb64; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ehEAcb64" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-42cbbb1727eso5724525e9.2 for ; Thu, 10 Oct 2024 02:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728551497; x=1729156297; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=h6JTCbobwY+WrBm4quxkMy51PYIhzCK3wsE6+gxsIc8=; b=ehEAcb64UnshT16y44TkcqXdXwVkFeWfTF39alQVQCdQAzQMkf3JhY/ieA8q2leSxb wJZVh+99TyAvHMvSmZrUj8wS0WuCYT63oaUv7trM1zlq28nS0v41EnjIr0UBHYaYzlc+ Alw/0wF7vHu1sPB40FGCO5J25qYqu7h6ThR0qolCAC9fJlgEZfGlD6xWd7KOnmj5mjhA 82PXhVi2C7Egmv6xftpu1X2eMFTACWGxcIpeW1AJ2awuZchikt3uG0zq9IBnFutPrrF5 WdQvTYUxwnfUpBTrR8o/q7cCBYi76P8rl/7LeLLdUGwOv/6Rw7ZuAF2SqkXqoBuo1LmY lRQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728551497; x=1729156297; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h6JTCbobwY+WrBm4quxkMy51PYIhzCK3wsE6+gxsIc8=; b=mhchNPz9/WUYTJcnyUEXQ/BWTTNXx+ENNpcoeDN1fN8avsnaQNcmUhnDqx7QlktD/C Yr2AWIF+zc4PU/MCN3eMZ+jfbVsMmr2GDQHnDtTJeAJH38UfwBdkGj2Lxpv4MAwqKWHb xmdYXT/K/VwP6wLcdUS5CDRXjAtukR6zq7oQwyXP3EyE566JYvZYcd0KD/tiOS8Sfl5d e5nZ5Sn8F/05q3nd/qO+ZK0uKZIkiYOWSv9F4f9uTLdBKSJFy7W0Q1A2IQdLx4zWUpeM fbHuKux2LW6FQkoiMwaGznglMyiQjHjz/MCSj1SMoS5VcenEJEuIuk/wJY2bn8yeg8Kk D5vQ== X-Forwarded-Encrypted: i=1; AJvYcCVS58jzrmzme2Y9EfRFRRLqygUo/q4ZteChHC2dNHMU/EhcnHlf+7kYO1tyx2uyndSMBGmS/f0JEZv7IRRgS97f@vger.kernel.org X-Gm-Message-State: AOJu0YxI1z1EXv74C3n95XPNzTBOhTp/Qyd5Y4IUvm7tT6I7gagYcb86 e8Hxm4V6QjoDifDhxmLv18mFHZLcUmB5jHf3GnfNqma7TK2pOMPgh/k6XsZmHsU= X-Google-Smtp-Source: AGHT+IFBsRb0rbqSkjKUmR415ghSYtyxxKX74L/CjXBW9IVAWKIH/NxpFP3toMV1RSim/i2R4l25gg== X-Received: by 2002:a05:600c:a00a:b0:42f:75e0:7829 with SMTP id 5b1f17b1804b1-431157f436dmr24289665e9.30.1728551496657; Thu, 10 Oct 2024 02:11:36 -0700 (PDT) Received: from [192.168.1.3] ([89.47.253.130]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431183565desm9878205e9.32.2024.10.10.02.11.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Oct 2024 02:11:36 -0700 (PDT) Message-ID: <5f3f55a8-a378-4e16-8e5b-6fff329e75fd@linaro.org> Date: Thu, 10 Oct 2024 10:11:35 +0100 Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] perf build: Require at least clang 16.0.6 to build BPF skeletons From: James Clark To: Arnaldo Carvalho de Melo , Namhyung Kim , Howard Chu Cc: Alan Maguire , Arnaldo Carvalho de Melo , Ian Rogers , Adrian Hunter , Jiri Olsa , Kan Liang , Linux Kernel Mailing List , linux-perf-users References: <49fe18ff-827a-429b-9d74-9d8ed02ac409@linaro.org> <9bbfe425-1f2b-4846-a5a3-a31618742e9a@oracle.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/10/2024 10:00 am, James Clark wrote: > > > On 10/10/2024 2:20 am, Arnaldo Carvalho de Melo wrote: >> On Wed, Oct 9, 2024, 10:01 PM Namhyung Kim wrote: >> >>> On Tue, Oct 08, 2024 at 12:27:24AM -0700, Howard Chu wrote: >>>> Hi Alan, Arnaldo and James, >>>> >>>> This problem was solved in [PATCH 0/2] perf trace: Fix support for the >>>> new BPF feature in clang 12 (Link: >>>> >>> https://lore.kernel.org/linux-perf-users/20241007051414.2995674-1- >>> howardchu95@gmail.com/T/#t >>> ), >>>> sorry I forgot to cc you two. >>>> >>>> Alan's thought was correct. Thank you so much! :) >>> >>> It'd be great if any of you can test this change.  Now I only have >>> machines with clang 16. >>> >> >> I'll test this tomorrow. >> >> - Arnaldo >> >>> >>> Thanks, >>> Namhyung >>> >>> >> > > Tested with clang 15: > > $ sudo perf trace -e write --max-events=100 -- echo hello > >   0.000 ( 0.014 ms): echo/834165 write(fd: 1, buf: hello\10, count: 6) >                                            = > > Tested-by: James Clark > Should have left this tag on the actual patch. Will re-post it there.