From nobody Sun Nov 24 00:48:13 2024 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 A1B461AA1EA for ; Fri, 8 Nov 2024 23:46:13 +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=1731109575; cv=none; b=T4gk99JMBvDgCWHrkyvnhEXljC/NPWUC/t/sAW6hMbtvwKW6TNc0+gb3LNhX0IrsesHAkZ/EL92PqzhXc8VDBIvXC1ojJtb7NOvrKeBt2uduitl8W11ZLpFZKrGlnStY+iwYEIL1lSnp0WUJ4sbQXz3m26ae4FMPC6/tSsjZbcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731109575; c=relaxed/simple; bh=LPLAfjacKdfDpjocqpboSdEuhv5wpAtxMgZmDHl3E4E=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=Bn3ny3lIZUtwo23EuCYOH+UQtBO9pkK7MZFqRtuWQm7egXp2SyWdi0JdSSzEL+37OPmJ+PG5qb/te0ct5vog/CZk9Z2UlbFBz2gnaT8ya0RI0JEhj4lCQwx/RLKRlVKUbayatkGP8iKtc3AMKfZeRaTQHP8d++lWmCTM3WagsZI= 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=iVOIJpsJ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iVOIJpsJ" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6e376aa4586so54940067b3.1 for ; Fri, 08 Nov 2024 15:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1731109572; x=1731714372; 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=DzvCoj1xeTqTB7wBlJpyRYc+Iy1lxysKbVEC5FnZGzs=; b=iVOIJpsJNVixH5uRc8S/ya7xJWLjBMJZ6l70GiIsy+zwSiITe003uo8yv1nxPXY15V UKaemDRp2SEac8LgIB7lcHHjpDP6dU8ddNfz+FnC64zw6NAEldBUgJi3wta55T1cW5Er A/Ca2I6alc307kvkIt9d2zrBc1ER41nDT3C9WW0i+t6C/3bJELhCO8rkqdHx4VE83ysW MNolF5WNdriLYmJyGAztbL7lRnM6vPQ8SAOucZuSx60Ar0VUUCieBmHo3fswZrG8NW06 OR6QPYmHmiMgps1gtr2lwjdR1AXD4Q0BG/GtJDRBuxQRM/oIh803dlIlojfdXUjQMFVM Uj7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731109572; x=1731714372; 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=DzvCoj1xeTqTB7wBlJpyRYc+Iy1lxysKbVEC5FnZGzs=; b=gyAlAio/Kn6cFBKKy3maATHwkme+YO4hQW//FV8dqQmFpl8OKmihpDrWv7MH+qe4fP VcnWZLFGFSIp5HxOplFFhEMNDKe6L70txpEEauR4dQrGyoJW+Eyu/1AuW0gpHiJ5EUEY dRdB8dSCy000hVJqtOs2WBhAXTUTYHI14JpozqGtFZCfwxmt3X25Hd6lynhijaWvgm+5 QWTGVHWf5jKmzK4lnbYaY7KX1l89IprL2tlNv3faoOstwdA1Vfou2V0PDwQ1zDdbcgxn Go1xWPIJ3lu44Qxq/iiGd1MeNUDuDNOVGEYQJc4fs4syLeOSWuToOliejT1SAJfrF39Z 0MbQ== X-Forwarded-Encrypted: i=1; AJvYcCU/O5pdo96ALbPT3UntEp6cLPjZxoHXFpdWWFC6mDMz8ajGj31E+mVvUfrLgQLLD01A/kVUtWgVLbstO2I=@vger.kernel.org X-Gm-Message-State: AOJu0YzQDLbmow4CU9ljxZ0dmHU8BMhI/uha6eMK4feSVaknF2g/ILrs hqDHUjac118UBx3pHxvElD8D/Ba15PCdN1GBe85Xzwk9omcksB/VwmycW8EJRb8JveaIc9kX6Sf k7jPP3w== X-Google-Smtp-Source: AGHT+IGiEURxVyZkRgDVPez0reOEsDnj5mtQIuymDAi91H+shA48+bNTCoiPk5eRO07f4EEtxrSuPDE6Z9oo X-Received: from irogers.svl.corp.google.com ([2620:15c:2c5:11:6fd2:1e36:6d8c:7c49]) (user=irogers job=sendgmr) by 2002:a0d:ed43:0:b0:6ea:7c90:41f2 with SMTP id 00721157ae682-6eaddfbb341mr180017b3.6.1731109572636; Fri, 08 Nov 2024 15:46:12 -0800 (PST) Date: Fri, 8 Nov 2024 15:45:46 -0800 In-Reply-To: <20241108234606.429459-1-irogers@google.com> Message-Id: <20241108234606.429459-2-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20241108234606.429459-1-irogers@google.com> X-Mailer: git-send-email 2.47.0.277.g8800431eea-goog Subject: [PATCH v4 01/20] perf bpf-prologue: Remove unused file From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , John Garry , Will Deacon , James Clark , Mike Leach , Leo Yan , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Nick Terrell , "Masami Hiramatsu (Google)" , Changbin Du , Guilherme Amadio , Yang Jihong , Aditya Gupta , Athira Rajeev , Masahiro Yamada , Bibo Mao , Huacai Chen , Kajol Jain , Atish Patra , Shenlin Liang , Anup Patel , Oliver Upton , "Steinar H. Gunderson" , "Dr. David Alan Gilbert" , Chen Pei , Dima Kogan , Przemek Kitszel , "David S. Miller" , Alexander Lobakin , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit 4a73fca22692 ("perf bpf-prologue: Remove unused file") missed cleaning up the header file. The code was unnecessary as Commit 3d6dfae88917 ("perf parse-events: Remove BPF event support") removed building bpf-prologue.c. Fixes: 4a73fca22692 ("perf bpf-prologue: Remove unused file") Reviewed-by: Masami Hiramatsu (Google) Signed-off-by: Ian Rogers --- tools/perf/util/bpf-prologue.h | 37 ---------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 tools/perf/util/bpf-prologue.h diff --git a/tools/perf/util/bpf-prologue.h b/tools/perf/util/bpf-prologue.h deleted file mode 100644 index 66dcf751ef65..000000000000 --- a/tools/perf/util/bpf-prologue.h +++ /dev/null @@ -1,37 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2015, He Kuang - * Copyright (C) 2015, Huawei Inc. - */ -#ifndef __BPF_PROLOGUE_H -#define __BPF_PROLOGUE_H - -struct probe_trace_arg; -struct bpf_insn; - -#define BPF_PROLOGUE_MAX_ARGS 3 -#define BPF_PROLOGUE_START_ARG_REG BPF_REG_3 -#define BPF_PROLOGUE_FETCH_RESULT_REG BPF_REG_2 - -#ifdef HAVE_BPF_PROLOGUE -int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, - struct bpf_insn *new_prog, size_t *new_cnt, - size_t cnt_space); -#else -#include -#include - -static inline int -bpf__gen_prologue(struct probe_trace_arg *args __maybe_unused, - int nargs __maybe_unused, - struct bpf_insn *new_prog __maybe_unused, - size_t *new_cnt, - size_t cnt_space __maybe_unused) -{ - if (!new_cnt) - return -EINVAL; - *new_cnt =3D 0; - return -ENOTSUP; -} -#endif -#endif /* __BPF_PROLOGUE_H */ --=20 2.47.0.277.g8800431eea-goog