From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163261AbdKRIWz (ORCPT ); Sat, 18 Nov 2017 03:22:55 -0500 Received: from terminus.zytor.com ([65.50.211.136]:56095 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946166AbdKRIWn (ORCPT ); Sat, 18 Nov 2017 03:22:43 -0500 Date: Sat, 18 Nov 2017 00:19:03 -0800 From: tip-bot for Jiri Olsa Message-ID: Cc: mingo@kernel.org, andi@firstfloor.org, hpa@zytor.com, tglx@linutronix.de, dsahern@gmail.com, jolsa@kernel.org, acme@redhat.com, linux-kernel@vger.kernel.org, namhyung@kernel.org, peterz@infradead.org Reply-To: dsahern@gmail.com, andi@firstfloor.org, tglx@linutronix.de, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, namhyung@kernel.org, peterz@infradead.org, acme@redhat.com, jolsa@kernel.org In-Reply-To: <20171011150158.11895-23-jolsa@kernel.org> References: <20171011150158.11895-23-jolsa@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf annotate: Remove struct source_line Git-Commit-ID: fa1924eb4abcd756febc031d819ba75c3849ca45 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: fa1924eb4abcd756febc031d819ba75c3849ca45 Gitweb: https://git.kernel.org/tip/fa1924eb4abcd756febc031d819ba75c3849ca45 Author: Jiri Olsa AuthorDate: Wed, 11 Oct 2017 17:01:45 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 16 Nov 2017 14:49:44 -0300 perf annotate: Remove struct source_line Remove struct source_line*, no longer needed. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20171011150158.11895-23-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/annotate.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index f98acb2..4fc805a2 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -126,19 +126,6 @@ struct cyc_hist { u16 reset; }; -struct source_line_samples { - double percent; - double percent_sum; - u64 nr; -}; - -struct source_line { - struct rb_node node; - char *path; - int nr_pcnt; - struct source_line_samples samples[1]; -}; - /** struct annotated_source - symbols with hits have this attached as in sannotation * * @histogram: Array of addr hit histograms per event being monitored @@ -154,7 +141,6 @@ struct source_line { */ struct annotated_source { struct list_head source; - struct source_line *lines; int nr_histograms; size_t sizeof_sym_hist; struct cyc_hist *cycles_hist;