diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2009-12-06 12:10:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-06 18:15:02 +0100 |
commit | 7691b1ec2e4a8d4bd88dcf88b29792399ebe1c91 (patch) | |
tree | 3b232372d2bd2a3aae58ccb37b36155d9917ab73 /lib/random32.c | |
parent | perf: Make common SAMPLE_EVENT parser (diff) | |
download | linux-7691b1ec2e4a8d4bd88dcf88b29792399ebe1c91.tar.xz linux-7691b1ec2e4a8d4bd88dcf88b29792399ebe1c91.zip |
perf tools: Misc small fixes
- util/header.c
"len" is aligned to 64. So, it tries to write the out of
long_name buffer.
So, this use "zero_buf" to write aligned area.
- util/trace-event-read.c
"size" is not including nul byte. So, this allocates it, and set '\0'.
- util/trace-event-parse.c
It needs parens to calc correct size.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <87d42s8iiu.fsf_-_@devron.myhome.or.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions