]> bbs.cooldavid.org Git - net-next-2.6.git/commit
perf utils: Use a define for the maximum length of a trace event
authorArjan van de Ven <arjan@infradead.org>
Sat, 19 Sep 2009 11:36:30 +0000 (13:36 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Sep 2009 16:57:53 +0000 (18:57 +0200)
commitec60a3fe478c0fc6d109eb5840b435ecee4d132b
tree7ee4276e7bed9eeb427b40c4562ee7452408e774
parent151750cec5db3c7ea45255d2901e581e2162317a
perf utils: Use a define for the maximum length of a trace event

As per Ingo's review: use a #define rather than an open coded constant
for the maximum length of a trace event for storing in the perf.data file.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: fweisbec@gmail.com
Cc: peterz@infradead.org
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20090919133630.10533d3e@infradead.org>
[ add a few comments to nearby functions ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/header.c