perf tools: Increase MAX_EVENT_LENGTH
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 17 Sep 2009 08:34:51 +0000 (16:34 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Sep 2009 22:30:25 +0000 (00:30 +0200)
commit270bbbe80d82fad8b698d0b407eb3ad67cc3492b
tree4eb7f492e58bad126276682993a2fb4ca416bd23
parent6706ccf8e776e51e38ffa89fe7dd20e80eb1e860
perf tools: Increase MAX_EVENT_LENGTH

The name length of some trace events is longer than 30, like
sys_enter_sched_get_priority_max and
ext4_mb_discard_preallocations.

Passing those events to perf-record will fail, try:

  # ./perf record -f -e syscalls:sys_enter_sched_get_priority_max -F 1 -a

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4AB1F4AB.7050205@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c