From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 4685D14A606 for ; Wed, 11 Sep 2024 09:50:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726048226; cv=none; b=KrNo9+sVZjduPV2tTMGeCcFZif1BsLH9t+5a5yaEBIm1H4uvbN7anM2koY4Vf2CEafkgy8TfFZ/MQdIlYSf05elAHEPUmPxGGZXeEY2phYU0qaqP5yhGRy5x/1K9T2IdsI/+LKIV7DipyRUMNS7znnsRvZlH0bX8paC1gxBHeOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726048226; c=relaxed/simple; bh=GL/tcH/FM58Yb2bt1pTAn5v9Hk42SZ++bAKDveVCzn8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LIGnvP6VJb/Q/oPnUpjZpeq4jqaTOCyX//xpJIz1oUtMfYBVlcYyWHj4jjZ3rd9Kc65cBRr1N/azigY+8lu7hDbFg6QtUVWNmS1C5gA+EDbOVxAXtdiRut7Hbyjbn0aITDfjkl2n/BKE3AJdcugoEW5ZzlWziLazOoi/W1fKb40= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=USMmgR4X; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="USMmgR4X" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42cb1758e41so35567085e9.1 for ; Wed, 11 Sep 2024 02:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726048223; x=1726653023; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AnXXE7Wk3VZnoTwCFRNM4He68pp1akde5BsNQFTxy9w=; b=USMmgR4XvAOU9uyFIs2lwgu2KN3SPCGL7xF/om58CcONDlH4HJ6S7/HB9SFFNnU/TU pkkzupkbEdDEu54VZLnm1pIKGrR7No34vgXPo0K6ryrYpzuZWTKDvRPkk76Xc8zU3sZJ 331Z2Whp4LM26nEknm5jsOXdjEf5KLjprZ/Ai8QrzQhYd1V5CX12vd4Q/LPO6i4A0nJX vprY+zSBf8UKFojeZy0VEwP7xJuA+3c5NxYaYSdcwm3d5mJEJPQEo6UqgwkNjirQssVw TN6Q2Rzo8hifRTLFinhJs7XIoq6QDCaCXQ9lD9APTD9kElY1jii1nVf1vOhnWYIin9dy T63A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726048223; x=1726653023; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AnXXE7Wk3VZnoTwCFRNM4He68pp1akde5BsNQFTxy9w=; b=LCxvyOIUc/E1iXssq0uAfovycWkyTk+aGQR/islCsjU3qbgELXnc972OCeywi6SROR OA4shCbZ13XCbSFqr/zjj6/kxFTUNZveLSUbN3R1WN689TIugAA7WS1L34tYMSZcBb2j 0f42A1v3AsblVB//LOrDfhp3EmpKLE84gTB0Ts8d9ct1+RvVuPiH2fdL7ToWKVv4fXzl bYNZ/43Q9ZiUGaY0ntoco417KaDzwOxi4cGz6FsF+0/e3kGvn4FsUaM3fdG+ILDsYcQz y9FeZmcJ8vLH6SxmD7N4XhPNR82mUnXY7LLmfnc/iuGQSiLjQwNzLN2FBgBr0fTNLlcI WuyA== X-Gm-Message-State: AOJu0YzVFi1s17OLJnsHkt0Aav49ek1GzmckvoSHUb8AKEf/WBDXe8Q8 67cva1b+jQdFqbY3V7shBoC4oHwfQV+CJATCuK8HZ6PA9DunFJU3TMQMbUHFI8c= X-Google-Smtp-Source: AGHT+IE0Il1dEbGGOXjuSySsMoG7SwHGQpfxHTJbZir2HEOgjbgf+Ck2VXRQ1ZglX2icnraJipJPfw== X-Received: by 2002:a05:600c:4f88:b0:426:62c5:4741 with SMTP id 5b1f17b1804b1-42cae70a06bmr100393585e9.2.1726048222438; Wed, 11 Sep 2024 02:50:22 -0700 (PDT) Received: from [192.168.1.61] ([84.67.228.188]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956d35dasm11031673f8f.67.2024.09.11.02.50.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Sep 2024 02:50:22 -0700 (PDT) Message-ID: <42fd10c1-21fe-48bb-b7ee-c5b42eda7afc@linaro.org> Date: Wed, 11 Sep 2024 10:50:33 +0100 Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] perf parse-events: Remove duplicated include in parse-events.c To: Yang Li Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org References: <20240910005522.35994-1-yang.lee@linux.alibaba.com> Content-Language: en-US From: James Clark In-Reply-To: <20240910005522.35994-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/09/2024 01:55, Yang Li wrote: > The header files parse-events.h is included twice in parse-events.c, > so one inclusion of each can be removed. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10822 > Signed-off-by: Yang Li > --- > tools/perf/tests/parse-events.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c > index 639e65a9bf61..e228511c85a5 100644 > --- a/tools/perf/tests/parse-events.c > +++ b/tools/perf/tests/parse-events.c > @@ -5,7 +5,6 @@ > #include > #include "tests.h" > #include "debug.h" > -#include "parse-events.h" > #include "pmu.h" > #include "pmus.h" > #include Reviewed-by: James Clark