mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Adding support to detect jvmti support. It is not plugged into the FEATURE_TESTS machinery, because it's quite rare and will be used separately from perf via feature_check call. Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Stephane Eranian <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: William Cohen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
14 lines
307 B
C
14 lines
307 B
C
#include <jvmti.h>
|
|
#include <jvmticmlr.h>
|
|
|
|
int main(void)
|
|
{
|
|
JavaVM jvm __attribute__((unused));
|
|
jvmtiEventCallbacks cb __attribute__((unused));
|
|
jvmtiCapabilities caps __attribute__((unused));
|
|
jvmtiJlocationFormat format __attribute__((unused));
|
|
jvmtiEnv jvmti __attribute__((unused));
|
|
|
|
return 0;
|
|
}
|