mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Add Java function descriptor demangling support. Something bfd cannot do. Use the JAVA_DEMANGLE_NORET flag to avoid decoding the return type of functions. Signed-off-by: Stephane Eranian <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Carl Love <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John McCutchan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Pawel Moll <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sonny Rao <[email protected]> Cc: Sukadev Bhattiprolu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
11 lines
249 B
C
11 lines
249 B
C
#ifndef __PERF_DEMANGLE_JAVA
|
|
#define __PERF_DEMANGLE_JAVA 1
|
|
/*
|
|
* demangle function flags
|
|
*/
|
|
#define JAVA_DEMANGLE_NORET 0x1 /* do not process return type */
|
|
|
|
char * java_demangle_sym(const char *str, int flags);
|
|
|
|
#endif /* __PERF_DEMANGLE_JAVA */
|