Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp429118lqk; Sat, 9 Mar 2024 18:08:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVC1FeAeeSFxRiER+j3OWAnn9HhMSJ+0Sb45x8YTL3WjTInSAaUWj3wW6VJXq9gdc55WlOwxb69hQ+JtOFkEk7oY/00Vd+YRZxiERJ2g== X-Google-Smtp-Source: AGHT+IE6hb5agr6pqfy7xSRg8GZdI0J10yiziP4FBgagau4jnXgJZHUJX+NPLgVWCJfuzf/+L3Mh X-Received: by 2002:a05:6214:f0a:b0:690:8452:8b17 with SMTP id gw10-20020a0562140f0a00b0069084528b17mr7819911qvb.14.1710036502135; Sat, 09 Mar 2024 18:08:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710036502; cv=pass; d=google.com; s=arc-20160816; b=nPZNd2mMuhAuVIhUIBJbB+/0SdTQakB3YBX4tADuGhJPqnF/AI87xCCmyhkvgWVUO2 VEhuoDS2pFh/r5n6pzyL8lvNprMdGkPZALVLbI2xQ9Lf1wf/8paTA5FIB6os56QmNCWA qlLpHFzl/ZxnWPDaCx/Gg7kvbNc4ZGv8cXq9xpPjH8lRkwajNFFdmsvnBYTMAVc4DFte HAeQDK4dNEiVYL9pOMkVFx9mryscJxj6c+6yQK5GRyEb3Ma+ORA2f5AUSylGBt9vN6ry FoEVsakXqxwiK9X+mSTEvZOy3b4ux1pMyT84ykix917kZU2eVBY0lzdRpT0Cc0SA/7NU FWjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:in-reply-to:date :dkim-signature; bh=vgONc26lvm/9ZOmPonAKLBWVK7kvQvvNgc4EWpL/eBk=; fh=haISuBrJpF1EZLqWnExd2/dEu7RuNJraQEwkXDFEPBk=; b=XpbCeZFLD1mi0v0FIRjiYF9bjceecv94BrUTC0gwfrbJCFEj0CIyV7E04HxG8wUHBD oilJDWg0xj0Dq8RsQ0nFL01+FHr4HDXxZMaZnrNk+JcmKPjgi6AusnF+xGHRmt3t8blj i9fXdN90raXh/C5oC8Irpl0Vi8bp/ij8eK4jEgxyZL+DqkJ4gPZo1Vj6ilddFpzDVHk6 g4ipL2d2PlOck5AYtrRf7itoJEwPlGnSUH0gRo7ENDriIpmo0MW0802jFijKKO3cnk+x aWPmkNKjmVSvea2fsOpI5jm0UB1hzop1eOJGXNLejMCBHY8iqUY3L62U5UccMh3JsX88 1xqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4RRJfEVF; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-98092-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98092-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h18-20020ac87d52000000b0042e4b1d6edcsi2739730qtb.29.2024.03.09.18.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 18:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98092-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4RRJfEVF; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-98092-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98092-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 D81DB1C2098C for ; Sun, 10 Mar 2024 02:08:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3E192D03B; Sun, 10 Mar 2024 02:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="4RRJfEVF" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 DFB7E2555B for ; Sun, 10 Mar 2024 02:05:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710036351; cv=none; b=UZQXIEX530gwVcGzTvemyHQfOcKoPMXz6Qnyqxz+UqELnl9Orevu+NiR36F7oX6yo0KvfFzCfrSrd+KX/od7l6Ibh/Xj8dS2eTjX8uJs4KeVyRWSDCdvAJzdIoDnrClFg/NZLsXP/6KMKpVrK68HLnPOiMI8RSpy9O+Dw+oWvRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710036351; c=relaxed/simple; bh=gXS4/PmUcr/u98E5bD8fZ0t4D/xMUtOLNVIZOZ/mooI=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=OBdRUnrwuwL0XREPPQtpERZ7Nb1Z82ZIywV+RiGTQWRywGfd7kE4kM8/nJuIOLIzyELEH2/1gq46dzZO+0+pxacYDRClju6lirp1J/nGEV8er0BApZTfn01hpMS9wvUimBu+5GJrAstEMXHgPc0Td45CjcwRny6UUlX225/maRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=4RRJfEVF; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-609f2920b53so48010867b3.0 for ; Sat, 09 Mar 2024 18:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710036349; x=1710641149; darn=vger.kernel.org; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=vgONc26lvm/9ZOmPonAKLBWVK7kvQvvNgc4EWpL/eBk=; b=4RRJfEVFPtrJeHkpe6FwktJhu6hedW8U/v/FPR5lEZLhqQphPs7rfv16DpEvOLsq3p uJY87zLQNSikrSGbJjnZmvv3SXwvszzrcdKMS+PKtWJIUZtpzl7R0QEuJARFoL8xscwU rLXoSBMrzfFNivUw+I2NtMiETimmNkJd6cd7MXkpMcOn3sAm3xhnGlM7JJ0agY8uLr+f aziq4Fo6IxHBXY0idncI9OQeKuvL/Oh585fTQgef3OOR+7L7BZeWsnsPOiZaR5WeSN0K OthKQCtrXWr5CHwo2KSZJcHxH72A5++tGB32b3HTV7eIH7HP5uHRbMBhpcBc9t59/bku QaZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710036349; x=1710641149; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vgONc26lvm/9ZOmPonAKLBWVK7kvQvvNgc4EWpL/eBk=; b=tZBJq7z1Wi9o715GDC7Jx8PY0/KwLYPJ3+MZMkbqD/oHde4IfVC0YIpu7vflBj2aZu GEQZ93ZswANjjZD/ZNPWN3hvN/kEqFDPEVEODSkc4/RqG2hnEjFZ+Weu6nw8fBMbYkow j4L5P2QH0W2S3z7ODfsf3Wo5HPfnvwvmboRNY1qKgtG2sPWoA5Wmw8iqYxpezPEfa5+O 0/58WlA263AhZ91qmlrSC10t+XTI57+F29fsn2G24kP9IJMb8T2XloQNeri6MEw0NuHH YkldcoJMdK+L5Ws3YdHYStsVQf8EN6n2ZAFQYKKgdHWQORW4yDbCUXDRx3mUnnwwTLAq H+Bg== X-Forwarded-Encrypted: i=1; AJvYcCWzPhEZkYy/ryHh7t+v/PkTKOyK3PX22DG0jz72+11DYpT+CokqIYvY+JkZo79ZoZnUdXo3VtazfzY5s6weIcFHR83pdk05znJws31R X-Gm-Message-State: AOJu0YyDjNGule1/EOthHtgRWIEk6tvAPuftj75QdFUpJX2W/MLaqONV AcAmvugtH7E1l3qlBHsFmB35KcBTXCORtzZzTXl2Hfmqgr/V4DvpnFpnRmOIJz0EKrjn/bEBf9d XE+Ye5w== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:a63d:1b65:e810:3ad3]) (user=irogers job=sendgmr) by 2002:a25:ab6f:0:b0:dcd:3a37:65 with SMTP id u102-20020a25ab6f000000b00dcd3a370065mr144117ybi.7.1710036348960; Sat, 09 Mar 2024 18:05:48 -0800 (PST) Date: Sat, 9 Mar 2024 18:05:02 -0800 In-Reply-To: <20240310020509.647319-1-irogers@google.com> Message-Id: <20240310020509.647319-8-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240310020509.647319-1-irogers@google.com> X-Mailer: git-send-email 2.44.0.278.ge034bb2e1d-goog Subject: [PATCH v1 07/13] perf cacheline: Add missing linux/types.h include From: Ian Rogers To: Arnd Bergmann , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Ian Rogers , Adrian Hunter , Paolo Bonzini , Shuah Khan , Kees Cook , "Gustavo A. R. Silva" , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andrew Morton , Liam Howlett , Miguel Ojeda , Will Deacon , Mark Brown , David Laight , "Michael S. Tsirkin" , Shunsuke Mie , Yafang Shao , Kui-Feng Lee , James Clark , Nick Forrington , Leo Yan , German Gomez , Rob Herring , John Garry , Sean Christopherson , Anup Patel , Fuad Tabba , Andrew Jones , Chao Peng , Haibo Xu , Peter Xu , Vishal Annapurve , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" u64 is used in this header for cl_address and cl_offset, so linux/types.h is necessary. Add to avoid compilation errors that aren't currently seen due to transitive dependencies. Signed-off-by: Ian Rogers --- tools/perf/util/cacheline.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/cacheline.h b/tools/perf/util/cacheline.h index fe6d5b60a031..50b77129e1a4 100644 --- a/tools/perf/util/cacheline.h +++ b/tools/perf/util/cacheline.h @@ -3,6 +3,7 @@ #define PERF_CACHELINE_H #include +#include int __pure cacheline_size(void); -- 2.44.0.278.ge034bb2e1d-goog