[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160502233424.qjbdpedge3ft2qxh@alap3.anarazel.de>
Date: Mon, 2 May 2016 16:34:24 -0700
From: Andres Freund <andres@...razel.de>
To: Greg KH <greg@...ah.com>
Cc: stable@...r.kernel.org, tglx@...utronix.de, a.p.zijlstra@...llo.nl,
namhyung@...nel.org, linux-kernel@...r.kernel.org, hpa@...or.com,
mingo@...nel.org, acme@...hat.com
Subject: Re: [tip:perf/urgent] perf hists: Fix determination of a callchain
node's childlessness
Hi,
On 2016-05-02 16:24:08 -0700, Greg KH wrote:
> On Mon, May 02, 2016 at 03:25:25PM -0700, Andres Freund wrote:
> > On 2016-05-02 15:17:54 -0700, Greg KH wrote:
> > Sorry for that, I'd used git describe on the commit to determine which
> > branch it was contained in (outputting v4.3-1188-g4b3a321). That
> > obviously doesn't make sense though, as that just returns the state of
> > the tree at which 4b3a3212233a was introduced, not the commit it was
> > merged into mainline.
>
> I have an alias in my .gitconfig:
> [alias]
> dc = describe --contains
>
> which is what you need here:
> $ git dc 4b3a3212233a
> v4.5-rc1~171^2~43^2~3
>
> hope this helps,
Ah, perfect. Thanks. I made do with git tag --contains, but that's
awfully slow; describe --contains is a lot faster.
Andres
Powered by blists - more mailing lists