From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753680AbaCKAb5 (ORCPT ); Mon, 10 Mar 2014 20:31:57 -0400 Received: from one.firstfloor.org ([193.170.194.197]:47211 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753023AbaCKAb4 (ORCPT ); Mon, 10 Mar 2014 20:31:56 -0400 Date: Tue, 11 Mar 2014 01:31:54 +0100 From: Andi Kleen To: Jiri Olsa Cc: Andi Kleen , acme@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, namhyung@kernel.org, Andi Kleen Subject: Re: [PATCH 3/8] perf, tools: Add --branch-history option to report v2 Message-ID: <20140311003154.GP22728@two.firstfloor.org> References: <1393561352-23448-1-git-send-email-andi@firstfloor.org> <1393561352-23448-4-git-send-email-andi@firstfloor.org> <20140307131940.GB13974@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140307131940.GB13974@krava.brq.redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > this is *same* as parse_branch_mode function and seems to be not needed, > I think both branch-stack and branch-history options could be handled > by OPT_BOOLEAN They can't because the type checker requires bool, and these variables are tristate (UNSET, TRUE, FALSE) -Andi