linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Michael Petlan <mpetlan@redhat.com>
Cc: "linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>,
	ast@plumgrid.com
Subject: Re: [PATCH] perf-list: perf list sw segmentation fault fix
Date: Sun, 6 Dec 2015 16:14:26 -0200	[thread overview]
Message-ID: <20151206181426.GA2493@redhat.com> (raw)
In-Reply-To: <1449064322.24573.140.camel@redhat.com>

Em Wed, Dec 02, 2015 at 02:52:02PM +0100, Michael Petlan escreveu:
> The PERF_COUNT_SW_BPF_OUTPUT entry is missing in the event_symbols_sw
> array.  Due to that "perf list sw" segfaults,  because a NULL pointer
> is passed to strlen() function at util/parse-events.c:1895.
> 
> After this patch, the syms array is set correctly,  so "perf list sw"
> does not segfault.

I had that fixed already, its upstream by now.

Thanks,

- Arnaldo

      reply	other threads:[~2015-12-06 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 13:52 [PATCH] perf-list: perf list sw segmentation fault fix Michael Petlan
2015-12-06 18:14 ` Arnaldo Carvalho de Melo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151206181426.GA2493@redhat.com \
    --to=acme@redhat.com \
    --cc=ast@plumgrid.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mpetlan@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).