Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp338030lqp; Wed, 12 Jun 2024 03:08:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/Zv+13Ch83+iGFaKeF0QWWNupvQl2Ilb8HCbnjv9vyY+QQvNDGH7tjNQdlAQ7NpWSQ+zI0fYzRD40jLWOuw2lrSxriSmt0n0tL9IFuw== X-Google-Smtp-Source: AGHT+IHX+8goQj/ZbsvaBFV6xkdbGUoyA912wB8sMxP2DHklspAVSVYBATi6LxMcdIKMK8zku4/C X-Received: by 2002:a17:90b:3685:b0:2c2:e9d6:3d15 with SMTP id 98e67ed59e1d1-2c4a7601f19mr1358149a91.6.1718186925006; Wed, 12 Jun 2024 03:08:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718186924; cv=pass; d=google.com; s=arc-20160816; b=ASesFsWddaBh8qTggJL5tDYt++J8GqGNS46O6XGqQFXPtcsPuNFFX4aHzH5k/iZJQg /DMMnNsGrwZIKorq3voqNwQnp5JaCrm5JavKJJS9Jtbqj3u5fT3gSqVd8WDIBTO2Uzcl BNJN8R+Kb3CRclm2HJRl0/1AEmMFC1Zi00VA9TxOtiy4KE1mMkkS3EvjVyBFwcAKlkD3 nR0TB/VRsaIEElCJJ5xpJyUBrAlh29chE1jU5zRSEhxgmwIXsAccV75dTZfG2X47BAVm K+UUWK21cPjaV19Wv/67PScrWXb+voPdyMaFP4ZPYYXS1Xt5t7sbHs0e1KdD/u5mPQIO HehQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=NdN7Ews9LQrj+qxr+xUA2AtG+NPcybfP14woaAlH9fo=; fh=hnXb/7B/57kSE5QSfdNaXs5bhuJvxQV1vxKCdEtppDo=; b=ZudAPa5kHmC3gcRxOjNpa/pjLtTrCG0QPdoITZNS1whc7bj5LN5Siwb0PMVd9OrgxD 66ZbieL7slJC8IiEu1M3IY74pbTqY27i/icaSVqO/CmYIrDAweEh4sAa8e5Cu9lsBSAn bn/YZZt2ysTtUaLONLNnxj5jPEsuYo0dTgjnLZ2Zczbs5+cgyrgVP0wHvuX+4sVfsqq7 Iz2BPOyRgSRjknBEwVWeTwnwm7PNJpmR/GXA1rwwj796AUwPI1kb7thVYaSTT7YspGeC lMe5HXjkeTqq8UCThCvSujhLmxOj1MYx2CWHruafr66pH9rxbfF2aOKAzIhbakwTLKRO N13A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gentoo.org dmarc=pass fromdomain=gentoo.org); spf=pass (google.com: domain of linux-kernel+bounces-211324-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a75f39e1si1215263a91.62.2024.06.12.03.08.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 03:08:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211324-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gentoo.org dmarc=pass fromdomain=gentoo.org); spf=pass (google.com: domain of linux-kernel+bounces-211324-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8A498285855 for ; Wed, 12 Jun 2024 10:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F5FE16E88B; Wed, 12 Jun 2024 10:07:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 ABC3216D4E8; Wed, 12 Jun 2024 10:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718186837; cv=none; b=fYeSR/A3aPc2o6lzCajxl5tcTTQs27a/Cie5gT6Gyl/5VkGmQSMLd9Ygn/yQ/d1tEQX8eZybNsDbUlCD82Xf/gIdfH46IqrPgwt8GEk/U430MMzfk3/cXkRRzCQS2PjYIlAsNlAcxAWzGjV6ttwZ8tx8R1DmevKEUFWe9+d4uFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718186837; c=relaxed/simple; bh=wVSj0BFnJgasNyV6X0X+XogJi6hOWF4I2zytqMc1A9s=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=FTLffbAdpqGAjuwhO1fqeiZLSEvcoRUDDoOlGQAxXaQ5yIoYCnNlBQMJYpj2VXEnj9nUPgnrdEWWA22wJP0cNH5dR+SdT3GzHYkXCRSZO39L7M1vc8cdqPipWB1QzIe/CmOFtcUP9m68ubowyOXmdLx1pnPd0pP+6MJohuacz5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org Message-ID: <4154d202-5c72-493e-bf3f-bce882a296c6@gentoo.org> Date: Wed, 12 Jun 2024 12:07:09 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Matthias Schwarzott Subject: Re: ANNOUNCE: pahole v1.27 (reproducible builds, BTF kfuncs) To: Arnaldo Carvalho de Melo , dwarves@vger.kernel.org Cc: Linux Kernel Mailing List , bpf@vger.kernel.org, Alan Maguire , Jiri Olsa , Jan Engelhardt , Viktor Malik , Eduard Zingerman , Jan Alexander Steffens , Domenico Andreoli , Dominique Leuenberger , Daniel Xu , Yonghong Song References: Content-Language: en-GB, de-DE In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 11.06.24 um 23:26 schrieb Arnaldo Carvalho de Melo: > Hi, > > The v1.27 release of pahole and its friends is out, supporting > parallel reproducible builds and encoding kernel kfuncs in BTF, allowing > tools such as bpftrace to enumerate the available kfuncs and obtain its > function signatures and return types. > Regarding packaging of pahole: What is the state of the contained ostra-cg? I have no clue what it is and how to use it. Is there still a use-case for it? Starting it without arguments only shows the usage string. Running it with two dummy arguments: $ ostra-cg x y Traceback (most recent call last): File "/usr/bin/ostra-cg", line 404, in class_def = ostra.class_definition(class_def_file = "%s.fields" % traced_class, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/dwarves/runtime/python/ostra.py", line 154, in __init__ f = file(class_def_file) ^^^^ NameError: name 'file' is not defined. Did you mean: 'field'? According to https://stackoverflow.com/questions/32131230/python-file-function the function file() does not exist in python3. This part could be fixed by replacing it with open() but I wonder if this is worth it. As nobody has complained about it being broken: Should ostra just be removed? Regards Matthias