Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp791795ybe; Fri, 13 Sep 2019 06:27:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkuoROWnbPD2jvMO+XD/pqn2IVNHf/VjAn8x7hpQm0/y8SO6IGYKQ5LeEAa6nwGKlqcQXc X-Received: by 2002:a17:906:6c8:: with SMTP id v8mr2913486ejb.252.1568381262413; Fri, 13 Sep 2019 06:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568381262; cv=none; d=google.com; s=arc-20160816; b=hnKoI5sHCquvEqMc3i71IEqPRT5FWsCN8jm9kyCa/xpF4f9ldPZui1M+eYxQrai0pH wV2oR664DF6xGiILtyAVkKyBRD+VltPV65nxMhLx5uNOpRVmhemBMVtTvXTX2YCW1+gM 2ZjIuWfStu49ACla+gVcamunjcwYDfdLSHOhF1LefQmR0WZAXaQDlf1UMX+fKL3+PxYC 9wY3f8c1HSlDb53kPjF7p+mQGjKFlGGxf/P+nd31hVO4YHW5D7f+qkuf+Qi+lk3EPLUo mrxpXIc2I6mg6P+yQ2R79nNCkPa0sUXATDEfZWOjALDbVst/lndX05NbY8ckyULtNi+F ONsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dXKXPVTyUkaQlAV6Ig4utTff/sFpNhuJrQrFCrpbry4=; b=EJV8JNQUgjqi7CYnD9VuKco/j6KzvEstTNoHvzvwW16pQpD48dmD0ijddPArhyeFyL L0rugzjvaRnA5bs/QuDGY9o0XO+U2dbwwXZedGNZ96h8J5/KQKnnX22Q9JCl2lhm8ncF 6rMKzc25ofINMOr4r/T1dIMuOTIMw1Vc8g6yWHLsIjAvvT2634/4sbPJDmxHcHm5r3JH 3Aq/CZsDXJxcatViih9XTO2BFuW7ZU7CjExaPpGK00igzHIgzvkLN9ZF1VL3yIUU9Uzw KV+j19rQ/campqf5wNilg5wcMlypRnBxV8m11J9Ea9j/XEJlqvM6b6cFwhWilp40BV6o BBeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd13si14491231ejb.160.2019.09.13.06.27.19; Fri, 13 Sep 2019 06:27:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391136AbfIMNYW (ORCPT + 99 others); Fri, 13 Sep 2019 09:24:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59234 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390528AbfIMNYU (ORCPT ); Fri, 13 Sep 2019 09:24:20 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B98D43CA0F; Fri, 13 Sep 2019 13:24:20 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2010E5C1D4; Fri, 13 Sep 2019 13:24:18 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: [PATCH 08/73] perf tools: Rename perf_evlist__purge() to evlist__purge() Date: Fri, 13 Sep 2019 15:22:50 +0200 Message-Id: <20190913132355.21634-9-jolsa@kernel.org> In-Reply-To: <20190913132355.21634-1-jolsa@kernel.org> References: <20190913132355.21634-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 13 Sep 2019 13:24:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename (perf_evlist__purge) to evlist__purge(), so we don't have a name clash when we add (perf_evlist__purge) in libperf. Link: http://lkml.kernel.org/n/tip-snvcdpyj28haygnvkuocxeh7@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index d71fafd472ea..ac738b90a71f 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -124,7 +124,7 @@ static void perf_evlist__update_id_pos(struct evlist *evlist) perf_evlist__set_id_pos(evlist); } -static void perf_evlist__purge(struct evlist *evlist) +static void evlist__purge(struct evlist *evlist) { struct evsel *pos, *n; @@ -155,7 +155,7 @@ void evlist__delete(struct evlist *evlist) perf_thread_map__put(evlist->core.threads); evlist->core.cpus = NULL; evlist->core.threads = NULL; - perf_evlist__purge(evlist); + evlist__purge(evlist); evlist__exit(evlist); free(evlist); } -- 2.21.0