From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.74]) (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 C0CB232AADC for ; Sun, 19 Apr 2026 23:59:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776643178; cv=none; b=H1pf3TqjFRIrcGnMEM2nZusyoQWj9vj8mzX+7QqYJMqCgaJS8hchdsULfOOck9IN1v5a68TsakZhLsAMDB+KdVksxFTGvUX4u17tZYrgdYU4ApvYf44lHfG52KSORu4Pgm1UnRgq3p4Y07px8BiRsjkMbJdX5dctURdbAFa/RY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776643178; c=relaxed/simple; bh=yfzX/kWkUPo6HuiNEcCplA3nJDWvyQ11Dbn+i6lcXrM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Y5rOKowFArhrI57YGnbpMvqGJL5BUf6JCcF9FfI3PhuaZ5XcSAsgS5ejnhq2n4MS81CUoztSrsvQjk92I1J846mZwvovotLc6H06tiWaZTLU9mERCDObu7h/FNNJdrwC9FSqmt08QYmH87mTBXJooLftAeyO//gUVxl6PR5Lt6I= 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=TRuLtTP/; arc=none smtp.client-ip=74.125.82.74 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="TRuLtTP/" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-12c7169f3a9so3196428c88.1 for ; Sun, 19 Apr 2026 16:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776643177; x=1777247977; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=5Nd7TgaO7qPS5M+WvEEPw2th6XOdhm3UID2XKbTPTAo=; b=TRuLtTP/JiqTftT9Uuu0eJSZqHPbSP16aEVeNRUAEWnBFCTtE91HWsJSfp3MpgnA13 XcYPv/bkXDUXmdpnA+Op3mogCnLPkksqZEXW36CKlXzVRA1LY6oO56Zt+YwDdoVIhA4z mtDZH8b5xncTK3SOoTCn8xz8shu8vaBhZIqn4NrjJGx4oFUOZlsaAPGgmb4XPfhBJx/j Cp0uevHLrZZWGieIQ7Yp5E4QOPEmA0yfEBUfivHbxHe2LEceG3ygkOnvqpyAB8O4jYqm imHnsUHrRdo4Jv6ip0RU+ac5UNYAsS507V9s9ICkjikY4yHJZcQyTo1qqrI1JOKOMS2w qO8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776643177; x=1777247977; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5Nd7TgaO7qPS5M+WvEEPw2th6XOdhm3UID2XKbTPTAo=; b=HVIViwJ1/mwQHI3dzDQG9dOtkR7w9fnei3bjMbXvhLuM26eeBc9FUm+gT9uoNUMMLw S4qXe74xs2Wt2gyX4FuKrM6xKs2o9pRQBfE3err19uMulXUTW4BePQ28Dp7TlDQO6YRr 0RknPWHPCfRp92x1idSzdQKc/xYRYjTg+pFa0nmPSlD0xMAPLTnjGM/2b65XZ4YS2+oA DxQv37VOdpsr0tWKmj6THvw6zknbRuNlOld6bKtQhrAvp89j3ftDlQTqlrg7OttDBW0y zCDz6Chl1c8mQj6sFLtd5d6PRz02Tc42oWy/TriBJf1Ne3uHKtvptqyFwS1t6xzfAmY8 rFSw== X-Forwarded-Encrypted: i=1; AFNElJ8WhwR/myYAtnCpyMt87n0PN4RFxVW7WheMw/nkN7LEIxL2pTYeb/RBTzb8GLPwcZaoPpDd5BDhiLYWMRY=@vger.kernel.org X-Gm-Message-State: AOJu0Yww75yg4Uf9vrSEBIt6ZzSN0VrcYSL+l+aUl8DJ3WC9hNtDDCVd wgrGg0gqj5o4eu+SUHgXrtNuIJVmQd5CxOcv6hyhOB/W6pw5O/5ylfrVTS1NRMMsP29H9nVvbzT IJ9sq6yhJMw== X-Received: from dycqa5.prod.google.com ([2002:a05:7300:fe45:b0:2d8:36c2:7c59]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:6289:b0:12c:6a24:a24f with SMTP id a92af1059eb24-12c73fb05b7mr6083529c88.33.1776643176530; Sun, 19 Apr 2026 16:59:36 -0700 (PDT) Date: Sun, 19 Apr 2026 16:58:19 -0700 In-Reply-To: <20260419235911.2186050-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260419235911.2186050-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.rc1.513.gad8abe7a5a-goog Message-ID: <20260419235911.2186050-8-irogers@google.com> Subject: [PATCH v1 07/58] perf python: Add missed explicit dependencies From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Jiri Olsa , Adrian Hunter , James Clark , Alice Rogers , Suzuki K Poulose , Mike Leach , John Garry , Leo Yan , Yicong Yang , Jonathan Cameron , Nick Terrell , David Sterba , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Alexandre Chartre , Dmitrii Dolgov <9erthalion6@gmail.com>, Yuzhuo Jing , Blake Jones , Changbin Du , Gautam Menghani , Wangyang Guo , Pan Deng , Zhiguo Zhou , Tianyou Li , Thomas Falcon , Athira Rajeev , Collin Funk , Dapeng Mi , Ravi Bangoria , Zecheng Li , tanze , Thomas Richter , Ankur Arora , "Tycho Andersen (AMD)" , Howard Chu , Sun Jian , Derek Foreman , Swapnil Sapkal , Anubhav Shelat , Ricky Ringler , Qinxin Xia , Aditya Bodkhe , Chun-Tse Shao , Stephen Brennan , Yang Li , Chuck Lever , Chen Ni , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Cc: Ian Rogers Content-Type: text/plain; charset="UTF-8" Fix missing #include of pmus.h found while cleaning the evsel/evlist header files. Signed-off-by: Ian Rogers --- tools/perf/util/python.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index cc1019d29a5d..1e6c99efff90 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -5,26 +5,29 @@ #include #include #include -#ifdef HAVE_LIBTRACEEVENT -#include -#endif +#include #include + #include "callchain.h" #include "counts.h" +#include "event.h" #include "evlist.h" #include "evsel.h" -#include "event.h" #include "expr.h" +#include "metricgroup.h" +#include "mmap.h" +#include "pmus.h" #include "print_binary.h" #include "record.h" #include "strbuf.h" #include "thread_map.h" #include "tp_pmu.h" #include "trace-event.h" -#include "metricgroup.h" -#include "mmap.h" #include "util/sample.h" -#include + +#ifdef HAVE_LIBTRACEEVENT +#include +#endif PyMODINIT_FUNC PyInit_perf(void); -- 2.54.0.rc1.513.gad8abe7a5a-goog