From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752472AbbJFHOJ (ORCPT ); Tue, 6 Oct 2015 03:14:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55800 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbbJFHOG (ORCPT ); Tue, 6 Oct 2015 03:14:06 -0400 Date: Tue, 6 Oct 2015 00:13:50 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: dzickus@redhat.com, jolsa@kernel.org, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, namhyung@kernel.org, dsahern@gmail.com, a.p.zijlstra@chello.nl, kan.liang@intel.com, hpa@zytor.com, acme@redhat.com Reply-To: tglx@linutronix.de, namhyung@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, dzickus@redhat.com, acme@redhat.com, dsahern@gmail.com, a.p.zijlstra@chello.nl, hpa@zytor.com, kan.liang@intel.com In-Reply-To: <1444068369-20978-5-git-send-email-jolsa@kernel.org> References: <1444068369-20978-5-git-send-email-jolsa@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Export perf_event_attr__set_max_precise_ip() Git-Commit-ID: 45cf6c33f95448752dd3d5531388429c3a5012d0 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 45cf6c33f95448752dd3d5531388429c3a5012d0 Gitweb: http://git.kernel.org/tip/45cf6c33f95448752dd3d5531388429c3a5012d0 Author: Jiri Olsa AuthorDate: Mon, 5 Oct 2015 20:06:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Oct 2015 16:16:20 -0300 perf tools: Export perf_event_attr__set_max_precise_ip() It'll be used in following patch. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Don Zickus Cc: Kan Liang Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1444068369-20978-5-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/evlist.c | 2 +- tools/perf/util/evlist.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index e7e195d..d139219 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -205,7 +205,7 @@ void perf_evlist__set_leader(struct perf_evlist *evlist) } } -static void perf_event_attr__set_max_precise_ip(struct perf_event_attr *attr) +void perf_event_attr__set_max_precise_ip(struct perf_event_attr *attr) { attr->precise_ip = 3; diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index 66bc9d4..a459fe7 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h @@ -290,4 +290,6 @@ void perf_evlist__to_front(struct perf_evlist *evlist, void perf_evlist__set_tracking_event(struct perf_evlist *evlist, struct perf_evsel *tracking_evsel); + +void perf_event_attr__set_max_precise_ip(struct perf_event_attr *attr); #endif /* __PERF_EVLIST_H */