lkml.org 
[lkml]   [2017]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/11] perf, tools: Add debug support for outputing alias string
On Wed, Jan 18, 2017 at 07:45:09AM -0800, Andi Kleen wrote:
> On Wed, Jan 18, 2017 at 01:16:06PM +0100, Jiri Olsa wrote:
> > On Tue, Jan 03, 2017 at 07:08:28AM -0800, Andi Kleen wrote:
> >
> > SNIP
> >
> > > diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
> > > index 4bfc98953aba..e0c43698fd62 100644
> > > --- a/tools/perf/util/pmu.c
> > > +++ b/tools/perf/util/pmu.c
> > > @@ -275,6 +275,8 @@ static int __perf_pmu__new_alias(struct list_head *list, char *dir, char *name,
> > > snprintf(alias->unit, sizeof(alias->unit), "%s", unit);
> > > }
> > > alias->per_pkg = perpkg && sscanf(perpkg, "%d", &num) == 1 && num == 1;
> > > + alias->str = strdup(val);
> >
> > where's this one released?
>
> Aliases are never released AFAIK?

ok, I misplaced that one with the one from sevent struct.. sry

jirka

\
 
 \ /
  Last update: 2017-01-18 17:25    [W:0.092 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site