From e3ea32ffa04468eddaf9c6ce2d36090f7bf43e49 Mon Sep 17 00:00:00 2001 From: Jack Veenstra Date: Tue, 19 May 2009 14:41:14 -0700 Subject: Add support for new trace records for native (JNI) calls. This change adds new trace record types for entering (and exiting) native code from Java code. There is a corresponding change in the Dalvik interpreter to generate these trace records. --- hw/goldfish_trace.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/goldfish_trace.h') diff --git a/hw/goldfish_trace.h b/hw/goldfish_trace.h index c49745b..11ed906 100644 --- a/hw/goldfish_trace.h +++ b/hw/goldfish_trace.h @@ -46,6 +46,9 @@ #define TRACE_DEV_REG_METHOD_ENTRY 1024 #define TRACE_DEV_REG_METHOD_EXIT 1025 #define TRACE_DEV_REG_METHOD_EXCEPTION 1026 +#define TRACE_DEV_REG_NATIVE_ENTRY 1028 +#define TRACE_DEV_REG_NATIVE_EXIT 1029 +#define TRACE_DEV_REG_NATIVE_EXCEPTION 1030 /* the virtual trace device state */ typedef struct { -- cgit v1.1