Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1159504ybe; Fri, 13 Sep 2019 12:00:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJXD/al6pULqP7tXrt0FMtqql3NsFljEe6z41/1MD5L3QoOhrQRbspaVfqwTzchJ6yZ6pf X-Received: by 2002:a17:906:6dc1:: with SMTP id j1mr40794824ejt.85.1568401223790; Fri, 13 Sep 2019 12:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568401223; cv=none; d=google.com; s=arc-20160816; b=DhL4rIQkeqGIMl9LwSEoxKr8tqWRVqWcP6JmVq8LblwAVuD/na/9qpfQKmtOT7oM2D 9T3GmaGjkEOlrRuZ8jGGj17t8it5jLk9msWv3H8ygsnSWS68iTSxmVBBL1TuDdMW3Hbc metEprCq131kcj8YBe2YEWzqbbJsHjwBzoXFTE/f2BJN13wul5RrL3Mf9OrjI4rwMVWr bUaaH/txCOEvd9up7Hdj//SxMVDtw6/mNEB1ropOnzzee+8KoYJggddr8NL7vCT6peHK IK07NOdM5bS13YPTgVtfKpeTuhKyS0Hu9fBZ/HERTQg9ze+P6Rgs3S90rjDrvwo9R1y7 Bn/A== 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=twAXM9OpLSKe2aSivS8S7/sQ18GjepUAB8Lv/n9j3yE=; b=X1sXrlSm0V7iZxH8K6C9OhfWpKdgJMM/vwyqY5YyzSxyNlIdgh9uoNooPYnKCqYvYx WaxKbvLJAPtZXvKRh7KoA3R+A8LzuB3cV/Rz6NefzCtvZ+GkdLaCdPdboBlMxDiSz7gn zZDMuHjCXjQpeoJaJYte3EEVflF7o9c+6opcpxdlUY9bRZDy/OYDfMOHjvJeIfifm2Lw 7+6PIne9KYin9giAclUG54vb785mdgPDQ6YkCc9OK/exaMpWI/6RW9+TBG/oMLzp9k99 IOQr3Womtk1c+mY1sfSeBU+C+dpxds+dSvhkrczSL4XUIZ9QAS5wzSJ4K4E2QxP1WxOo 9QBg== 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 f57si16597611edb.165.2019.09.13.12.00.00; Fri, 13 Sep 2019 12:00:23 -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 S2391131AbfIMNYR (ORCPT + 99 others); Fri, 13 Sep 2019 09:24:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55150 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391124AbfIMNYO (ORCPT ); Fri, 13 Sep 2019 09:24:14 -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 B18FE18C8934; Fri, 13 Sep 2019 13:24:14 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 172185C1D4; Fri, 13 Sep 2019 13:24:12 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: [PATCH 06/73] perf tools: Rename perf_evlist__alloc_mmap() to evlist__alloc_mmap() Date: Fri, 13 Sep 2019 15:22:48 +0200 Message-Id: <20190913132355.21634-7-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.6.2 (mx1.redhat.com [10.5.110.70]); Fri, 13 Sep 2019 13:24:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename (perf_evlist__alloc_mmap) to evlist__alloc_mmap(), so we don't have a name clash when we add (perf_evlist__alloc_mmap) in libperf. Link: http://lkml.kernel.org/n/tip-k2rpqpssgvvgyuhbjtgirbpi@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index cc11b1a22042..dc7117c33ab8 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -693,8 +693,8 @@ void evlist__munmap(struct evlist *evlist) zfree(&evlist->overwrite_mmap); } -static struct mmap *perf_evlist__alloc_mmap(struct evlist *evlist, - bool overwrite) +static struct mmap *evlist__alloc_mmap(struct evlist *evlist, + bool overwrite) { int i; struct mmap *map; @@ -752,7 +752,7 @@ static int evlist__mmap_per_evsel(struct evlist *evlist, int idx, maps = evlist->overwrite_mmap; if (!maps) { - maps = perf_evlist__alloc_mmap(evlist, true); + maps = evlist__alloc_mmap(evlist, true); if (!maps) return -1; evlist->overwrite_mmap = maps; @@ -1004,7 +1004,7 @@ int evlist__mmap_ex(struct evlist *evlist, unsigned int pages, .comp_level = comp_level }; if (!evlist->mmap) - evlist->mmap = perf_evlist__alloc_mmap(evlist, false); + evlist->mmap = evlist__alloc_mmap(evlist, false); if (!evlist->mmap) return -ENOMEM; -- 2.21.0