Re: [PATCH] perf: fix coredump caused by introduce of probe moduleoption

From: Arnaldo Carvalho de Melo
Date: Mon Aug 08 2011 - 10:41:35 EST


Em Mon, Aug 08, 2011 at 11:01:19AM +0800, Jovi Zhang escreveu:
> On Mon, Jul 25, 2011 at 10:08 PM,  <bookjovi@xxxxxxxxx> wrote:
> > From: root <root@xxxxxxxxxxxxxxxxxxxxx>
> >
> > perf will coredump if user don't give "-m" option in probe command,
> > this patch fix it.
> >
> > [root@localhost perf]# ./perf probe --add='PROBE'
> > Segmentation fault (core dumped)
> >
> > Signed-off-by: Jovi Zhang <bookjovi@xxxxxxxxx>
> > ---
> >  tools/perf/util/probe-event.c |   12 ++++++++----
> >  1 files changed, 8 insertions(+), 4 deletions(-)
> >
>
> Hi acme,
>    Can this patch go through your tree?
>    (Get rid of "From" field, that's suck. :))

yeah, I'm applying it.

Thanks,

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/