Commit c752d040 authored by Ricardo Ribalda Delgado's avatar Ricardo Ribalda Delgado Committed by Arnaldo Carvalho de Melo

perf symbols: Increase symbol KSYM_NAME_LEN size

Fglrx propietary driver has symbol names over 128 chars (:S). This
breaks the function kallsyms__parse.

This fix increases the size of KSYM_NAME_LEN, so kallsyms__parse can
work on such kernels.

The only counterparty, is that such function requires 128 more bytes to
work.
Acked-by: default avatarPekka Enberg <penberg@kernel.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: David Ahern <daahern@cisco.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1319096606-11568-1-git-send-email-ricardo.ribalda@gmail.comSigned-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a6e51f9f
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <sys/utsname.h> #include <sys/utsname.h>
#ifndef KSYM_NAME_LEN #ifndef KSYM_NAME_LEN
#define KSYM_NAME_LEN 128 #define KSYM_NAME_LEN 256
#endif #endif
#ifndef NT_GNU_BUILD_ID #ifndef NT_GNU_BUILD_ID
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment