From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f73.google.com (mail-dl1-f73.google.com [74.125.82.73]) (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 112FC38E5DA for ; Sat, 25 Apr 2026 22:50:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777157428; cv=none; b=sgx1fe1H0Bc7xydEc3C+5t5q+4kOLbF8XRYmsM5PhUC1YUjeCHS6i3Z2hwuki18+2FzY4u4HcqoSJH+5z3GxqZ3pnzWT/FyAzjdugrqZTtU68BTfOqfhMsm5lMJ0wGugz0kIIP40NTzb5HxlXffLh49NrxayfGVOeQCsC03pIN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777157428; c=relaxed/simple; bh=E1A9rOUkigl47RQgwxPU7BZg+a2AkxhYpc7Hpry26ZU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=uMrJL5ytcMiPS/gbcDzjGl0zAdjbJfAV3Ww4EHTqmPuVzd0BhloBPnc0WMBGvdLZ68P+Woa4VJ5BJek/ACAuz0wb8Shm01ivtbwmIiWVPfIlapNIn/lKIkM62ps7enYeaKgfecAE3WceXSLRKsxEtPBfGzc9ni9gpdmyzj8jcMg= 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=wgCznQXf; arc=none smtp.client-ip=74.125.82.73 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="wgCznQXf" Received: by mail-dl1-f73.google.com with SMTP id a92af1059eb24-12c8d7d4a79so7470711c88.1 for ; Sat, 25 Apr 2026 15:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777157426; x=1777762226; 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=Pih4PvjlzSX23VUBfhxJgrdaziaLdcdiDaL3PE08L8Q=; b=wgCznQXfY6MDRwspWi9+E5grmFcCWBvVx2FAuM8RX554wVHbWbTmXBJfFpdWImUism UfUsxb4MDKEhFBQcIVjjTEXOgj4nerSJHg7sa+XTYpsVEx8bXNN84BJ22n4kHgScbzxP MY2rVNdiVhR5K4SO8MW+etCf7kQHqehgSprYaEVfTWjLKgOuSSKLwGNvaa9xQYtqAv7g egYrEJqNYQkmOVJl8KdHaP6pJmoTy0LNpeTwmIRsm7Vk7Td6AwBB03fs5WlCqgQ5MR+9 o/Wf6/17eliaYkUG1EVJP/RfxTLoygzx4BWT8rfa9eaH3Hwih+HSssGEztltou43jSUa GUYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777157426; x=1777762226; 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=Pih4PvjlzSX23VUBfhxJgrdaziaLdcdiDaL3PE08L8Q=; b=G+i0uRU6XAb+pp9TH9BPtBIK4+uhPMHMXp8R7WOwuRPJyBveHTjmbXMqsQXI9fsWwL RBd0Z2HAg03FGqLfhoMgoHk5+/JZOjS1M7u6A+mwhtjtOtZ3Vwidc0+wBi6EgUG3ygID F1USF71a5rJ5xPTcXAFiALhR/PD9eJUCWrFta0C2Uy2dW327Q61+lKFxb7wzAHKRb+Lx 4SOypdXtr77BxFpAad5pPMdapH45/NLkG3yQwinYtmBT5qN0PmOSOwvDM/8/D1zv+uhy NIdGPpDZUH0T1U7sqcfh8gH4F7Y0Ml9tU2RGdUi2xqO654lbqlvC9S/cqpDce/+rYi9F +Tdg== X-Forwarded-Encrypted: i=1; AFNElJ+RqUwpgmnzCXLpCbUEooHAl5ZB/rGib36Tx73973iQEOxjpD9vTYqT0/h2rVareeDg9P4FxpS8iYlR8tU=@vger.kernel.org X-Gm-Message-State: AOJu0Yxdkd8t6dRLYvZaW0UhvdZGLSHi4DP6XftNnp0pxdXU5u8Dc2tB vKD0KpzOlo4kAbU9KNGbOIOQ5lwvKTFUuvSiVGmxlR6FTKLAf0MS+n11oj/EufEVCL881NJ93I4 xKpV1yXoJnw== X-Received: from dlec6-n2.prod.google.com ([2002:a05:701b:4286:20b0:12d:bbdf:edcb]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:90a:b0:128:d715:b717 with SMTP id a92af1059eb24-12c73f82878mr18014490c88.13.1777157425996; Sat, 25 Apr 2026 15:50:25 -0700 (PDT) Date: Sat, 25 Apr 2026 15:48:59 -0700 In-Reply-To: <20260425224951.174663-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: <20260425174858.3922152-1-irogers@google.com> <20260425224951.174663-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.545.g6539524ca2-goog Message-ID: <20260425224951.174663-8-irogers@google.com> Subject: [PATCH v7 07/59] perf python: Add missed explicit dependencies From: Ian Rogers To: acme@kernel.org, adrian.hunter@intel.com, james.clark@linaro.org, leo.yan@linux.dev, namhyung@kernel.org, tmricht@linux.ibm.com Cc: alice.mei.rogers@gmail.com, dapeng1.mi@linux.intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, 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.545.g6539524ca2-goog