Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp874715lqb; Fri, 15 Mar 2024 08:41:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7IR/1AWmCcQXx1G0Gr3rVugKsm29c9DkQvZz+zUt0+krJkn0DEq1DWiGjm7N35jBNUUZKsPBECbdJsFlDDwmtOHWprWGFMsCMcS+hUA== X-Google-Smtp-Source: AGHT+IEMX3RkP8b1nSbH4R2u5PzveuukwzpqXuLkTFK4tAHKPUNxz0S+iwVPmpb/Oe7KNk2PxE4k X-Received: by 2002:a05:622a:1a1f:b0:42e:d2f2:71f2 with SMTP id f31-20020a05622a1a1f00b0042ed2f271f2mr15110421qtb.23.1710517312492; Fri, 15 Mar 2024 08:41:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710517312; cv=pass; d=google.com; s=arc-20160816; b=g3Q3JJEXZas+Ye+h2cmq7EJwVaQG8TPbeLxh9F+qXmZ6GB2KIAtaij/YVsV/NaFWHT 4C3DjLIzjI8WpzbLUmNC1nQmcAsJKSSAigbwSrhdfqv1Y5iLaBXQGhzPfwBuJZWTt/nR rkUwaHR5sWXwRcTbsyzAIPcNxM6lmZl5hgPzlWRG98048UHBg68w7FhN0HyDWq+Lext4 X2prmFbirEBwhFwVyYsV2xV1OVRnB/Dc3MrTXQLRjCmJVRp09hyrBdikcjBWP3M3i+Jh lZleTfTX+qXQXgAUwyM6FI576NGZRG/M3GMDySoTB3rfBt45aif2JQ4p55r4zFxUQN4F IiYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=AmGYu/KmJ+qcj+15+G/YbSuN8IdPg12yQImX0B4+x2M=; fh=tUxj4zZjMcTGpXfvh9VExiXen5rS70Zpij7pILLf+nA=; b=x221ejWekvIfU82IoNbO2dJACLl2sVxmBkW8N576dSpZEO9YFnNSRKnVIrR/YO59MX EOUAFcvgQZilN9vrAp1I4a3Ft87uGoAYbhn1DLM7kcV0K1AzabeG79lKHYWI3cBpXlZX Bv8ofaZaStlTETSDw+XRXzGNOPOFX8rh32GnoQLarAfpj+bdQt4rvglFQCkdi8wOXOAZ 7q5LADf19+r3NWY+aXE+pSQA15zn8SKGLKS2zdHlSs4cnagDw+V3S8iC54WlZAWv8kL2 va4+/GRmPnucwgULBDw6lU0nhhGJWXnyQ2XNJVX2Zf0PS1PKJssVNAD3KupssNT8Ex+y NzkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HiCwNKtH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-104585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z17-20020a05622a029100b0042f0427170asi3922764qtw.481.2024.03.15.08.41.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 08:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HiCwNKtH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-104585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 365961C21B4E for ; Fri, 15 Mar 2024 15:41:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9D2E3FB1D; Fri, 15 Mar 2024 15:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HiCwNKtH" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 725FC3F9E1 for ; Fri, 15 Mar 2024 15:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710517277; cv=none; b=m6RDIOAtu7YU4awvEqSR8MhmXMvm5Yd23eYlDCYdeiHBRkkMtbucNDcRJxJH7UyQ+wqFB+A0dSyEnHPglEAaZSaA9nisChwnI0YPpaSPOowYkNpriKUphQRb15Zvz2nMJQI4sQGR7sEnBQ0VVUoTNvXtTztX5Rgqgo1AsG0Ye0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710517277; c=relaxed/simple; bh=AmGYu/KmJ+qcj+15+G/YbSuN8IdPg12yQImX0B4+x2M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HSfDZyoCUn9vrzvNl9l0HWDZeQwXL36E2cNdCAnVIs+kL2lt9PiFX6OL/pFJrXubiuryJIywSyp4yS/nluUaLFZpZFfHdS6R1pSSr39AMmpGmQy4Ko8YcLl2m2IDI1e6YdlWGlrO8BNadqMS8qhK3Bkbz/HkKHs1MEIM5DfT2hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HiCwNKtH; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-33ec7e1d542so1072914f8f.1 for ; Fri, 15 Mar 2024 08:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710517274; x=1711122074; darn=vger.kernel.org; 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=AmGYu/KmJ+qcj+15+G/YbSuN8IdPg12yQImX0B4+x2M=; b=HiCwNKtHYTNMB29YO2jdoToJlLiTAypVzOoY8Jv1HmK8RUCXiUfqsJ9NRTV0cZ3ylv laSDwfSD/NnnY+lfw3gCsodFrq15B3gBaG63iW6X92OhegpyRILKF0lt5Gh3t6+nyBGv SOlx5EMYqapKHP8tQtHeKVj8NI4veLR3Ni0PdFpKdKzEo41z/4JJz/cVjyx99JhsxGR1 tycLM04ptPGGb1FKAeA6ytwuNHmnCe1mYgeW7/qQ2oBGHLspmqO2RKyXAvuio8YbvYf0 U2ZiursQzm2Z5NN7BZky/qW/sB5v5ID0Lmt72UnkEJGlgGfmYIqvxUvRXz9O7sntqoej QTsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710517274; x=1711122074; 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=AmGYu/KmJ+qcj+15+G/YbSuN8IdPg12yQImX0B4+x2M=; b=oFRJZbIM9lJ+iHTTOG4QlSL+3ETW+8/h0f0fwxOvkFKAnUqfGvRzCIGMyoSBRr05vk zuun7qt0dSJZdPyB8hh/LBfAIQF/5ehq7ogRvN39TniLtks9sxhV9Zq3OD6uFG1U8+kt K1NuO4T2IgNS0pp8+9oA2WEH5ZjLxlcUOsYB3G2XQ6uCFac1NuZud74ubhRG5+toB662 O3+WhUGeaXDqtbCAj8RUF+/QoueeV7966rUacc146S6ZFIBF6B4d8Uj+9F2ubSMgARYR SpvrYGjhjrbD0aYZferXUJiL+OXnAQwkB4FZIjlt1Ppi1GhhzIaRLz4why73Nj0JYfe1 tIYA== X-Gm-Message-State: AOJu0Yy53er+7bXRws6CprLq99Duw71xZCm9YfpffkRedCwslFptXmhG 9Fe865EArnie4+BZVpnVBvz1gzEWiF4Is+SBLSif8KwOwizXeyW/i66jDE+xw5F1pP+NyNTGPdP N8vtkmyInjGbpQRkvWIWUU40eE2iyEqBHDDA= X-Received: by 2002:a05:6000:250:b0:33e:1e0e:69a with SMTP id m16-20020a056000025000b0033e1e0e069amr3347057wrz.13.1710517273566; Fri, 15 Mar 2024 08:41:13 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240315091434.10622-1-dmitrii.bundin.a@gmail.com> In-Reply-To: <20240315091434.10622-1-dmitrii.bundin.a@gmail.com> From: Alexei Starovoitov Date: Fri, 15 Mar 2024 08:41:02 -0700 Message-ID: Subject: Re: [PATCH] tools/resolve_btfids: Include linux/types.h To: Dmitrii Bundin Cc: LKML , Daniel Xu , Viktor Malik , Alexei Starovoitov , Andrii Nakryiko , Nick Desaulniers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 15, 2024 at 2:15=E2=80=AFAM Dmitrii Bundin wrote: > > When compiling the kernel there's no type definition for u32 within the > translation unit causing compilation errors of the following format: > > btf_ids.h:7:2: error: unknown type name =E2=80=98u32=E2=80=99 What compiler? What setup? Steps to repro? No one reported this, though lots of people are building resolve_btfids that uses this header as part of the kernel build. pw-bot: cr