Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1081996lqj; Mon, 3 Jun 2024 09:33:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsJo/wTUzf0dBo0JrRHzAfVzUt5192f/sms9G6jJ5yQYEFfxCx7+eVFPZNRs0O3jeJ1tzFAWIApIWG/EqJ9FqbRWZDfM7mRCAMMoQpBQ== X-Google-Smtp-Source: AGHT+IEpRfUjV/aLf2VdjjoEoUUO1/yexx31me/cq5ElkyhaR4zlpwSdk2KW8Fs2nkaOci0+Qtsb X-Received: by 2002:a50:d657:0:b0:57a:33a5:9b78 with SMTP id 4fb4d7f45d1cf-57a364496famr5905917a12.34.1717432436851; Mon, 03 Jun 2024 09:33:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717432436; cv=pass; d=google.com; s=arc-20160816; b=DBq9TF60AmXULHbDsSvTM3kajV2jPNbzccRcA21zw2WR7ooxczMhMVywqSYyGvlKQ/ b39LKKyGMf6wqDmUChTTPXDGFORPALfl2sWrURpaFx9mUOE+MJKAXXiMShJKsJc6N61N v8jGSteaLyxq7CIvObNuA86U8XEvw76gs7XBfpG8hGqhWtZ4CnglNRjbpdhaeR37NQ/b qidMVw0tM4Iy2wuxkwq42/rYr9atmXbgmt5VNngleddPWpawm5ld8GH6rMStqrNZ1rJz lmRtHrdr3Nuz04PIFEQ8Wn0ueOLm60Eepgnp0alH4DehgP7tLu0YAAIxb6roS5wUcOVt GY1g== 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=FjXuAqR4EYQTQU2Kd98gpGTnvGi9iTYHYeoY30Mkzb8=; fh=iJWKhujnkMBMbUt/pIAzlX3EYr6Wh+dIaz5irfn3oqo=; b=GSlWz3uy3sRgURmw1uz12GnbE/yw9MtQkZP7kWJCFjnWcnpqZ+gDVfJ/65S+dV1Yfk yhMWVbMojIFXfBERQ914/n0FFhK/1Q8fSEQzlju2wjASGqRJhHwzgPrxoBwjaZTQd1dc dAIANn/V+cHECJhzHAsEiQEWZaF5x8hF/UPn6uKfKK/mAknNGf01HhlwQWDWWAox47EV ZBGaENodRAsSfrHODRmYqRltgAo/zaFVycUvMbo/gEhk3f5SggzeHIJtnjw4tCmfZTN6 wVj3fyz3MMfgEOlwGcQYJ7UInMe8IWqd0+QIw0BMruQw3wM72i6jFKYfUjpXvjXfW1Bh 4F6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="vhbLN/BV"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c775f4si4130976a12.450.2024.06.03.09.33.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 09:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="vhbLN/BV"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199449-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B2E771F224B5 for ; Mon, 3 Jun 2024 16:33:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DBE5136995; Mon, 3 Jun 2024 16:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vhbLN/BV" Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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 36DC46A031 for ; Mon, 3 Jun 2024 16:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717432381; cv=none; b=RINPx66n+2QdNi7lyyKZS7ykb5Fq1AioTRh6GKhGkujcdG6i69295M1ntCyAWJSxrG3Z7zHj9uicv8xdXgQsi9rZ8+RlO1mwsZED7jaIGFLNbVewXvS+4JrhHE+27+DCHbK3mVRDI+fihfUl6eiws9+Ft7/k71Y9dIJwuTEBHzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717432381; c=relaxed/simple; bh=SwyAAsQo5LPigjyVrJh9TE3RAcBQUO6hlyM5El9jJtg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Tc/NZlUetoe6G4kIyZ2f9nxtHAE/ZQjJSdigqhGDgBiJtwTV9JSIospEUT4MTy3sTVqSZrkKnZdI/G61X39FTtrNgNV78l4dS+hAj1kt5rU+aOgMLY1VJwj207TWi1GO8feSoX+qIbTg/QOb35iXqTXmsfGv7B0dV9KG7oErhQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=vhbLN/BV; arc=none smtp.client-ip=209.85.160.178 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=google.com Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-440075abc22so340061cf.1 for ; Mon, 03 Jun 2024 09:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717432379; x=1718037179; 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=FjXuAqR4EYQTQU2Kd98gpGTnvGi9iTYHYeoY30Mkzb8=; b=vhbLN/BVxX5n5fC6Bn33MNJJ87nFvTvdt9ieBJvPxfnPcw4llbjKS5xdwNVPILTTR8 kpK2gu8OBgeKsQtHzgAXXipx6Q0ZSuibbz62c0k8LH4OUA7hwXU44W68kC+B8QIo59J2 If7Aj6x9d7sasIrFVTbuGhK6R73QY5x3U5C7ChjbPjaifdkPt+JOn5+rJdZetZRnp3co xSb9iBJovr8E6AenzZuhBMz65Pr3kP3D9O6iJcpDv//UMl1dVHuHWD5MPbPG7zGU5QcR lXjemL7EoHY4cPalSJFYf8E6/9bfHLHFmHnQh/r4KnKpk9FHAWH/iTlk3p9bJQCulT5k HbEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717432379; x=1718037179; 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=FjXuAqR4EYQTQU2Kd98gpGTnvGi9iTYHYeoY30Mkzb8=; b=MmqxerblHioYlfdo1LG4Q6xvB1kpCap4a82NO2xg3qpobqu3lp9GRYD3NGOZYSVVSH k950DFe9NZ8+1NfQnPfuDuLGmrAm3CUfC2AsHwCGIZUC8kCfybk/xdWlJJLmBs+Qf2pf e/p9Hvi58biR3ZTrLU5uCs+XGE8g/i1r+OHozC3Yd2obUvqEoZAlJdDJKdyClLsfjFKo QvHVV9gc9qq+Bu0UF/N1CdMP6GuY1JtL5KeHqb72TR1jhr3u02YPTfw4fFiW4XSSjNlX ZD3kNBnY0Ic38BI9pHiqO2LAIlvamoxsnxTbzcmWP4ScjIfYOkMCbvC8aSFXnirL9SmC dqQA== X-Forwarded-Encrypted: i=1; AJvYcCXdxjtQb9e3PTkLVytbTirJlhlVudcBlWtHOMm/60mjePHQ7gDcseIFW5z/17CJE+9WWgZGmwNpT82IgN+nRHAf+/HVciKUC7gbIjH+ X-Gm-Message-State: AOJu0YyV43uDHvMF9t7YUSLs5tNb1on942RO+/3cvWA/DQKRfFE5LAQ+ oe/wFqzosbJyrcYdpXPDGqtnwwfepO3V2oZa5orhDOjY0SljE6JqJWbEWSslv61vgXiyIkHWlga a2a76vdXQbBtcT7LgiiZQIVhC9JyL0HGJZ6nyJpSRPafOh2x4h79JNAQ= X-Received: by 2002:a05:622a:a709:b0:440:3e3:5730 with SMTP id d75a77b69052e-44003e35ac3mr2074601cf.14.1717432378882; Mon, 03 Jun 2024 09:32:58 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240602000505.213032-1-linux@treblig.org> In-Reply-To: <20240602000505.213032-1-linux@treblig.org> From: Ian Rogers Date: Mon, 3 Jun 2024 09:32:47 -0700 Message-ID: Subject: Re: [PATCH] perf genelf: remove unused struct 'options' To: linux@treblig.org Cc: peterz@infradead.org, mingo@redhat.com, jolsa@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 1, 2024 at 5:05=E2=80=AFPM wrote: > > From: "Dr. David Alan Gilbert" > > 'options' has been unused since > commit fa7f7e735495 ("perf jit: Move test functionality in to a test"). > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert Hi/thanks David, Reviewed-by: Ian Rogers Ian > --- > tools/perf/util/genelf.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/tools/perf/util/genelf.c b/tools/perf/util/genelf.c > index ac17a3cb59dc..c8f6bee1fa61 100644 > --- a/tools/perf/util/genelf.c > +++ b/tools/perf/util/genelf.c > @@ -54,11 +54,6 @@ typedef struct { > char name[0]; /* Start of the name+desc data */ > } Elf_Note; > > -struct options { > - char *output; > - int fd; > -}; > - > static char shd_string_table[] =3D { > 0, > '.', 't', 'e', 'x', 't', 0, /* 1 */ > -- > 2.45.1 >