Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2693270pxb; Sat, 6 Feb 2021 04:58:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfzudSBaandEkcdFAaEsc9FbKisUzdLx4E5uAZYLtrKhrj72aBn+pLLvSfNjdDqw5c+BSJ X-Received: by 2002:aa7:d6c2:: with SMTP id x2mr8300303edr.225.1612616338416; Sat, 06 Feb 2021 04:58:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612616338; cv=none; d=google.com; s=arc-20160816; b=pc233WlCfkQorxPt3q/48aXGrOdVQy8jSk9kiRorCQpm9iWFLuu1KxntM13jjYAY3D 3G0hMjJvITTlVxTJWsFStuIOuP6fdTYT72Skj3LL9iMgdP+XTeQxpaVsxeCcgQDeNRBt e9wYL4Afo1K1p1i5hHTODxsFG0H5PPjdFVMYrMqtJKNYZZ5R99w5I5CQIMjSaUq7TVK2 TQmu+mWya+Hnz4l2fqDVeUMRxyqloqT+dvWecUa0LV4X0ueTIrCiJFbjU/nj6lbiO3cx bw3FUnbk1+kshsG+y7lUJY8PjR4iKIzerDbW5/5ROPo2QggP8/zemYElizdHRmRZJnVt AobA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=pHZf8IJw7vfwU1AqUSW8aNLmUrq94t6dEUlTjXrhvzM=; b=ArFARfc26iXGyWMS89tH9C/ocJKhqPQstUNSgR6gOjEx3pQ3atpVvxZLmMAI2r5sel oaCCrFbAqZT0QM7abxOQ40XsMtmd0ePtzyJaiWO9H1u9KgbDvXmL1TaZJ4lzD/zIMoMH x/R09YiLFjQCrqZf3Xd4vrCIhOxVgKCaDovNduPH3izrNISdPEdw/oVwpuMpZxsmH9sb SPxtTDZjbk9RfrnKWi13XSKBWzKFX3cdrDz3iGH5gfBCzXtPRfZdzMqUPEsQzqE0wmM0 e/yQ0ig/2/xY4nI/vmEZp4zE9Q7TZBfT9+Hl9yojRDuZkfupWANFoyjPWCNjL8qKDRUz ZilQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AdCQa+8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du19si7940782ejc.206.2021.02.06.04.58.34; Sat, 06 Feb 2021 04:58:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AdCQa+8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbhBFMzH (ORCPT + 99 others); Sat, 6 Feb 2021 07:55:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbhBFMzD (ORCPT ); Sat, 6 Feb 2021 07:55:03 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6647FC06174A; Sat, 6 Feb 2021 04:54:21 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id x21so10109927iog.10; Sat, 06 Feb 2021 04:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=pHZf8IJw7vfwU1AqUSW8aNLmUrq94t6dEUlTjXrhvzM=; b=AdCQa+8hBaGCpXRkbGGBmfbwHQSf8oXUkjlxYohnrD4bFFgQlvAVrNbsC0xFrk4wFB qaiO4UNApxFcaRJlAInuOxu7KVhR9JZMa2xSXrIVoej+OXaPrdeXTh6XQqsOAOU0o9YY e7aK9CAnUDX09JVl4KN3goZpUA7UCkbs056SRQpqMwftzcBZobhaCrfJaxDBcJjpRyI2 d8s5RvDTiBZNbFWwdoSQj6SVkQMMujXiiRETLMVfsShSwkey5Xy0BCY+zz+njlj8pBWe 4f10lmJT0QoRbxNcowtGmBGLcBe85JsmI6E2n4yvgG9PHlIpVM3soXkn23sCW9VzB81k 9rZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=pHZf8IJw7vfwU1AqUSW8aNLmUrq94t6dEUlTjXrhvzM=; b=AgGwN1M1NMG95U6TCXfuEccJmEvuOAUt7UX4EHBBzKGCii4PMA5DPK24wJQ9a9Zn8H XXaeco/oifvFzzTiBBdFlNeKTEtaWIAKbo1Gu0QpMpqge0ypRnnimbj1aTR7iGKCTsKq +r5Qtp+YeVEn+YjExkjZe7vpagpjw2kpgHqjEUCeAGZY8SxrE3HYjgbVb3XIO/KSPQDt 2fnIVG3O6w9e4SG3urcmXQ/JIoqGVH6uLb6Y8yCwTX9nVVXgOj/WdHwDw1+5pOwESRvA JuLTrOHynQZ21vG2iZQpSpWc/jLs1kxPZ70cthmj/w5fSAqEUQWxA7oHWTTV5B+2GWll ZWdA== X-Gm-Message-State: AOAM532gbEB0QJoe5hbcy+9LtmWnsNW913LbBnBQ9/skGhYEpWMod0EC 28NDut7o8mY4bNaeBbFZt44hZDMQvTwuXI8UCfw= X-Received: by 2002:a05:6638:3795:: with SMTP id w21mr9446593jal.65.1612616060773; Sat, 06 Feb 2021 04:54:20 -0800 (PST) MIME-Version: 1.0 References: <20210204220741.GA920417@kernel.org> <20210205152823.GD920417@kernel.org> <20210205192446.GH920417@kernel.org> <8ff11fa8-46cd-5f20-b988-20e65e122507@fb.com> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Sat, 6 Feb 2021 13:54:09 +0100 Message-ID: Subject: Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type To: Yonghong Song Cc: Masahiro Yamada , Arnaldo Carvalho de Melo , Arnaldo Carvalho de Melo , dwarves@vger.kernel.org, Linux Kernel Mailing List , bpf@vger.kernel.org, Jiri Olsa , Jan Engelhardt , Domenico Andreoli , Matthias Schwarzott , Andrii Nakryiko , Mark Wieelard , Paul Moore , Ondrej Mosnacek , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Tom Stellard Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some post-mortem: LLVM_DWARF_BIN="/opt/llvm-toolchain/bin/llvm-dwarfdump" module="drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko" Module has DW_ATE_unsigned_160 and DW_ATE_unsigned_1: $LLVM_DWARF_BIN $module | grep DW_AT_name | grep DW_ATE_ | sort -u DW_AT_name ("DW_ATE_signed_32") DW_AT_name ("DW_ATE_signed_64") DW_AT_name ("DW_ATE_unsigned_1") DW_AT_name ("DW_ATE_unsigned_128") DW_AT_name ("DW_ATE_unsigned_16") DW_AT_name ("DW_ATE_unsigned_160") DW_AT_name ("DW_ATE_unsigned_32") DW_AT_name ("DW_ATE_unsigned_64") vmlinux has only DW_ATE_unsigned_1: $ $LLVM_DWARF_BIN vmlinux | grep DW_AT_name | grep DW_ATE_ | sort -u DW_AT_name ("DW_ATE_signed_1") DW_AT_name ("DW_ATE_signed_16") DW_AT_name ("DW_ATE_signed_32") DW_AT_name ("DW_ATE_signed_64") DW_AT_name ("DW_ATE_signed_8") DW_AT_name ("DW_ATE_unsigned_1") DW_AT_name ("DW_ATE_unsigned_128") DW_AT_name ("DW_ATE_unsigned_16") DW_AT_name ("DW_ATE_unsigned_24") DW_AT_name ("DW_ATE_unsigned_32") DW_AT_name ("DW_ATE_unsigned_40") DW_AT_name ("DW_ATE_unsigned_64") DW_AT_name ("DW_ATE_unsigned_8") - Sedat -