Revision data message id (MSG_FBI) 37/41437/1 tizen_27.11.17 tizen_studio_27.11.17
authorjungwook.ryu <jungwook.ryu@samsung.com>
Mon, 15 Jun 2015 09:18:48 +0000 (18:18 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Mon, 15 Jun 2015 09:19:54 +0000 (18:19 +0900)
Change-Id: I15a0c9a3941e1386045112c52e69a7df53ac0b60
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/protocol/ProtocolConstants.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/LogDataFactory.java

index a287c97..c72025e 100644 (file)
@@ -54,7 +54,6 @@ public class ProtocolConstants {
        public static final int MSG_DATA_RECORD = 0x0007;
        public static final int MSG_FUNCTION_ENTRY = 0x0008;
        public static final int MSG_FUNCTION_EXIT = 0x0009;
-       public final static int MSG_FUNCTION_BODY = 0x000A;
        public static final int MSG_FILE_FUNCTION_ENTRY = 0x000C;
        public static final int MSG_FILE_FUNCTION_EXIT = 0x000D;
        public static final int MSG_CONTEXT_SWITCH_ENTRY = 0x0010;
@@ -66,6 +65,7 @@ public class ProtocolConstants {
        public final static int MSG_WEB_FUNCTION_EXIT = 0x0016;
        public final static int MSG_APP_STARTUP = 0x0019;
        public final static int MSG_WEB_APP_STARTUP = 0x001A;
+       public final static int MSG_FUNCTION_BODY = 0x0020;
 
        // data probe message id
        public static final int MSG_PROBE_MIN = 0x0101;
index d919160..f3d54be 100644 (file)
@@ -66,9 +66,6 @@ public class LogDataFactory {
                        case ProtocolConstants.MSG_DATA_ERROR: // protocol 3.0
                                output = new ErrorData();
                                break;
-                       case ProtocolConstants.MSG_FUNCTION_BODY:
-                               output = new FunctionBodyInstrumentData();
-                               break;
                        default: // unknown message
                                Logger.error("Unknown message ID(%d)", msgID);
                                break;
@@ -96,6 +93,9 @@ public class LogDataFactory {
                        case ProtocolConstants.MSG_WEB_FUNCTION_EXIT:           // protocol 4.0
                                output = new WebProfileData();
                                break;
+                       case ProtocolConstants.MSG_FUNCTION_BODY:       // protocol 4.0
+                               output = new FunctionBodyInstrumentData();
+                               break;
                        default: // unknown message
                                Logger.error("Unknown message ID(%d)", msgID);
                                break;