lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 6 Dec 2011 12:02:43 -0200 From: Arnaldo Carvalho de Melo <acme@...radead.org> To: Andrew Vagin <avagin@...nvz.org> Cc: linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl, paulus@...ba.org, mingo@...e.hu, asharma@...com, devel@...nvz.org, dsahern@...il.com, linux-perf-users@...r.kernel.org Subject: Re: [PATCH 1/7] perf: use event_name() to get an event name Em Mon, Nov 28, 2011 at 12:03:29PM +0300, Andrew Vagin escreveu: > perf_evsel.name may be not initialized I'm applying this one to my perf/urgent branch and will ask Ingo to merge it today. > Signed-off-by: Andrew Vagin <avagin@...nvz.org> > --- > tools/perf/util/header.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c > index bcd05d0..33c17a2 100644 > --- a/tools/perf/util/header.c > +++ b/tools/perf/util/header.c > @@ -388,7 +388,7 @@ static int write_event_desc(int fd, struct perf_header *h __used, > /* > * write event string as passed on cmdline > */ > - ret = do_write_string(fd, attr->name); > + ret = do_write_string(fd, event_name(attr)); > if (ret < 0) > return ret; > /* > -- > 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists