From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC8FBC2BB40 for ; Sun, 13 Dec 2020 20:29:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9116A2396F for ; Sun, 13 Dec 2020 20:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404918AbgLMU3b (ORCPT ); Sun, 13 Dec 2020 15:29:31 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:44260 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbgLMU3b (ORCPT ); Sun, 13 Dec 2020 15:29:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607891285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qKQo1U5qUlDd3rxooekdaTivKSOdw/fBjhjxAEGtKr0=; b=VIQI/N07wI1qqVyAU7VejuiMKwglnDhU8+erI6RHdoDqu1qujbBiCi6wxXSCZAbQCWTjoz AOx29gDRHdgqmzsdT2Nmcy+bVSVU8vcBYaZoFu2e60271AsM9YNAlTjGAlT/n/qArtCbxw 1IYP+rGU/ARapu2DLm3gTZqiWWvZAHg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-339--VKZLHK1N3SKTy0FI2xzXQ-1; Sun, 13 Dec 2020 15:28:01 -0500 X-MC-Unique: -VKZLHK1N3SKTy0FI2xzXQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 38DF215720; Sun, 13 Dec 2020 20:28:00 +0000 (UTC) Received: from krava (unknown [10.40.192.121]) by smtp.corp.redhat.com (Postfix) with SMTP id 9EC8016C1F; Sun, 13 Dec 2020 20:27:58 +0000 (UTC) Date: Sun, 13 Dec 2020 21:27:57 +0100 From: Jiri Olsa To: Andrii Nakryiko Cc: dwarves@vger.kernel.org, acme@kernel.org, bpf@vger.kernel.org, kernel-team@fb.com, Hao Luo Subject: Re: [PATCH dwarves 0/2] Fix pahole to emit kernel module BTF variables Message-ID: <20201213202757.GA482741@krava> References: <20201211041139.589692-1-andrii@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201211041139.589692-1-andrii@kernel.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: dwarves@vger.kernel.org On Thu, Dec 10, 2020 at 08:11:36PM -0800, Andrii Nakryiko wrote: > Two bug fixes to make pahole emit correct kernel module BTF variable > information. > > Cc: Hao Luo > Cc: Jiri Olsa > > Andrii Nakryiko (2): > btf_encoder: fix BTF variable generation for kernel modules > btf_encoder: fix skipping per-CPU variables at offset 0 Acked-by: Jiri Olsa jirka > > btf_encoder.c | 61 +++++++++++++++++++++++++++++++++------------------ > libbtf.c | 1 + > libbtf.h | 1 + > 3 files changed, 42 insertions(+), 21 deletions(-) > > -- > 2.24.1 >