Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp320432pxf; Thu, 25 Mar 2021 05:04:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnNwnm2RongmIWmmiBZ7X8pngfZwYmaJ6/eFIszUevw5VT8yqpsCFyHip/g/DQXkZvjYjK X-Received: by 2002:a17:906:d8c6:: with SMTP id re6mr8696169ejb.311.1616673870045; Thu, 25 Mar 2021 05:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616673870; cv=none; d=google.com; s=arc-20160816; b=r16guEuJQnUSyHd9rEoBBGwHsvPzasE3o3lWOHWgraQ8LoD3jxncVFSEj54YXfpoxF SBzH2ns7/nkCJqY1VxLmGj8JcgVMJS14rnsE0H3LTmQa8zdmqDmIQ8Og508OeBLyRddV kZCAiH5GXtS2IQ1KEl+fAhXpLw/sCMhNSFuA070SX0UfI82Bh0Gc7nMK52mGAVhq+tWF EMcg/9DsYU3UF26DlV6sa0sG0qV4ePX5hz/E0R/NdybEMCeStdK8gIKAf7MPSgqlebq0 Wgzd9tNoFvfm9PNmKwXqp9hMhNaCOntvVjj83KzdBOxPqIpPbluenTlfl9J+yp9bghWS bCzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N8yo4SuRb9zL3th7+GysL5HAP1BomQ+/tcqMWMJu7q0=; b=0bfhd9/lzgBdwoW6/4JYJkKQu1TUv/1kr6E2s2UOGcWezaguPDh25NMZEzp1gQlYQe ivtCgWR6t3ggp8TuHWi3UIsHvduub57ynaTQ7aEVx2YFltDic13Af46S4lChdT0gBcvC WpwoVhR/4cTdhdvJJ7mqSihG7GiuR5fsdjno/3YliCer1hSaOigL6rXShtSDknS9i5qt Ho1pCOh0nPVSOkcQpsaKRu04hGcYUCHiJKfyx/Sq5vZdMu0w0NcXXfnaZaPZA3QUrR9d 6AeEyRMejthmaTn1qaz11aoDXZQqr10/CeDPGU0wxKWARIiypZb7QuvTZLOj0UzkD6kr 6Mlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cGn46pcC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si4030771ejd.37.2021.03.25.05.04.06; Thu, 25 Mar 2021 05:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cGn46pcC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230455AbhCYMCs (ORCPT + 99 others); Thu, 25 Mar 2021 08:02:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:52962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230525AbhCYMCY (ORCPT ); Thu, 25 Mar 2021 08:02:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CEF5961A24; Thu, 25 Mar 2021 12:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616673744; bh=4TdL+O70IMV6Jhj6RSyZtxUtapbBEQpXLdDrtpLf5rU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cGn46pcCNLY/6dAakZPWev1Np3zi0gytcMnBr9OOuSxO2GzF6I5vSsLEFi/6qau1/ TEt5E6l8ODasenlpOg/rD+Mi0W+hZx1vIah5V1IAzGLOA9TvvHgcOhxuZrJkhWRgml YaxSSLN58wqAt+iKJiGPRCgi0gTBjY2/jsoLerUiLHJw4zzuhto4lbVqyiSuWoKysb atw3srNroZfB6Cxg3/qJZGlYFrXPnYn8BY0BYHHJ0c6s/lqCg/KUCO4wjkbZlSXKoT FtEeiyPjCukvy8qKuCXRmiuqH6zY7+mMgV1P6WU6rol8t1qfM4asA9Hf2N7XJuRTvw iz01K5PSl2ntw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 9D81A40647; Thu, 25 Mar 2021 09:02:21 -0300 (-03) Date: Thu, 25 Mar 2021 09:02:21 -0300 From: Arnaldo Carvalho de Melo To: Wan Jiabing Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Kajol Jain , Adrian Hunter , linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] tools: perf: util: Remove duplicate declaration Message-ID: References: <20210325043947.846093-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210325043947.846093-1-wanjiabing@vivo.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Mar 25, 2021 at 12:39:34PM +0800, Wan Jiabing escreveu: > struct evlist has been declared at 10th line. > struct comm has been declared at 15th line. > Remove the duplicate. Thanks, applied. - Arnaldo > Signed-off-by: Wan Jiabing > --- > tools/perf/util/metricgroup.h | 1 - > tools/perf/util/thread-stack.h | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/tools/perf/util/metricgroup.h b/tools/perf/util/metricgroup.h > index ed1b9392e624..026bbf416c48 100644 > --- a/tools/perf/util/metricgroup.h > +++ b/tools/perf/util/metricgroup.h > @@ -9,7 +9,6 @@ > > struct evlist; > struct evsel; > -struct evlist; > struct option; > struct rblist; > struct pmu_events_map; > diff --git a/tools/perf/util/thread-stack.h b/tools/perf/util/thread-stack.h > index 3bc47a42af8e..b3cd09beb62f 100644 > --- a/tools/perf/util/thread-stack.h > +++ b/tools/perf/util/thread-stack.h > @@ -16,7 +16,6 @@ struct comm; > struct ip_callchain; > struct symbol; > struct dso; > -struct comm; > struct perf_sample; > struct addr_location; > struct call_path; > -- > 2.25.1 > -- - Arnaldo