lkml.org 
[lkml]   [2016]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perf/urgent] perf hists: Fix determination of a callchain node's childlessness
On Mon, May 02, 2016 at 03:25:25PM -0700, Andres Freund wrote:
> Hi,
>
> On 2016-05-02 15:17:54 -0700, Greg KH wrote:
> > On Mon, Apr 18, 2016 at 07:25:22AM -0700, Andres Freund wrote:
> > > Hi,
> > >
> > > Perhaps the patch quoted below should also go into stable? It'd be nice
> > > to fix that regression for 4.4 and 4.5. It's been integrated into 4.6
> > > (909890355).
> >
> > How is it a regression in 4.4, as the commit involved didn't show up
> > until 4.5?
> >
> > confused,
>
> 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,

greg k-h

\
 
 \ /
  Last update: 2016-05-03 01:41    [W:0.081 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site