lkml.org 
[lkml]   [2013]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix segfault in perf probe
* Ananth N Mavinakayanahalli <ananth@in.ibm.com> [2013-03-12 14:32:17]:

> From: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
>
> Fix segfault in perf probe due to a bug introduced by commit d8639f068
> (perf tools: Stop using 'self' in strlist).
>
>
> Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>

Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>

>
> ---
> Index: linus/tools/perf/util/strlist.c
> ===================================================================
> --- linus.orig/tools/perf/util/strlist.c
> +++ linus/tools/perf/util/strlist.c
> @@ -143,7 +143,7 @@ struct strlist *strlist__new(bool dupstr
> slist->rblist.node_delete = strlist__node_delete;
>
> slist->dupstr = dupstr;
> - if (slist && strlist__parse_list(slist, list) != 0)
> + if (list && strlist__parse_list(slist, list) != 0)
> goto out_error;
> }
>

--
Thanks and Regards
Srikar Dronamraju



\
 
 \ /
  Last update: 2013-03-12 11:21    [W:0.056 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site