From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030333AbbEFDUf (ORCPT ); Tue, 5 May 2015 23:20:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:36663 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030313AbbEFDU3 (ORCPT ); Tue, 5 May 2015 23:20:29 -0400 Date: Tue, 5 May 2015 20:20:14 -0700 From: tip-bot for Namhyung Kim Message-ID: Cc: acme@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, dsahern@gmail.com, namhyung@kernel.org, jolsa@kernel.org, mingo@kernel.org, tglx@linutronix.de Reply-To: acme@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, namhyung@kernel.org, dsahern@gmail.com, jolsa@kernel.org, mingo@kernel.org, tglx@linutronix.de In-Reply-To: <1429687101-4360-3-git-send-email-namhyung@kernel.org> References: <1429687101-4360-3-git-send-email-namhyung@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Move init_have_children field to the unnamed union Git-Commit-ID: d8a0f80042efc4ba08977f3d66fc4678037fe456 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: d8a0f80042efc4ba08977f3d66fc4678037fe456 Gitweb: http://git.kernel.org/tip/d8a0f80042efc4ba08977f3d66fc4678037fe456 Author: Namhyung Kim AuthorDate: Wed, 22 Apr 2015 16:18:13 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 May 2015 18:13:11 -0300 perf tools: Move init_have_children field to the unnamed union The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the TUI-specific unnamed union member. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1429687101-4360-3-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/sort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 7f0c0a8..4d923e6 100644 --- a/tools/perf/util/sort.h +++ b/tools/perf/util/sort.h @@ -96,7 +96,6 @@ struct hist_entry { /* We are added by hists__add_dummy_entry. */ bool dummy; - bool init_have_children; char level; u8 filtered; union { @@ -109,6 +108,7 @@ struct hist_entry { struct /* for TUI */ { u16 row_offset; u16 nr_rows; + bool init_have_children; }; }; char *srcline;