1. Basic data message format
----------------------------
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=================+==========+==========+===============+===================================================================================+
-| message ID | int | 4 | 0x0001~0xFFFF | identify the message |
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-| sequence number | int | 4 | | increased by 1 indendant of message type, unsigned int, next to 0xFFFFFFFF is 0x0 |
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-| time | time | 8 | | 4byte int (second) + 4byte int (nanosecond), second: milli-micro-nano-pico |
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-| length | int | 4 | | length of the payload |
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-| payload | variable | variable | | not specify lengh of payload |
-+-----------------+----------+----------+---------------+-----------------------------------------------------------------------------------+
-
-2. Data message list
---------------------
-
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| message ID | value | message count | message frequency | descript |
-+=============================+========+===========================+===================+==================================================================================================================+
-| MSG\_PROCESS\_INFO | 0x0001 | count of target processes | irregular | target process info |
-| | | | | |
-| | | | | In MSG\_PROCESS\_INFO(0x00001) there is a list of application mappings. |
-| | | | | this message contain maps list (with address and libraries path) only for "r\*x\*" region. |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_TERMINATE | 0x0002 | count of target processes | irregular | terminate |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_ERROR | 0x0003 | N | irregular | error message |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_SAMPLE | 0x0004 | N | 10ms | |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_SYSTEM | 0x0005 | N | 10~1000ms | DaData, start sending immediately after start message from host, first system message time is tracing start time |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_IMAGE | 0x0006 | N | irregular | image |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_RECORD | 0x0007 | N | irregular | replay event |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_FUNCTION\_ENTRY | 0x0008 | N | irregular | swap instrumentation, Instrumented functions by AppInst and LibInst |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_FUNCTION\_EXIT | 0x0009 | N | irregular | swap instrumentation, Instrumented functions by AppInst and LibInst |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_SYSCALL\_ENTRY | 0x000A | N | irregular | system call function entry |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_SYSCALL\_EXIT | 0x000B | N | irregular | system call function exit |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_FILE\_FUNCTION\_ENTRY | 0x000C | N | irregular | System call entry of the file to non-target process is used in the file that the target process uses |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_FILE\_FUNCTION\_EXIT | 0x000D | N | irregular | System call exit of the file to non-target process is used in the file that the target process uses |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROCESS\_STATUS\_INFO | 0x000E | N | irregular | process status information when running process attached (should be sent right after MSG\_PROCESS\_INFO) |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_CONTEXT\_SWITCH\_ENTRY | 0x0010 | N | irregular | swap instrumentation for kernel |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_CONTEXT\_SWITCH\_EXIT | 0x0011 | N | irregular | swap instrumentation for kernel |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROCESS\_MAP | 0x0012 | N | irregular | if new mapping occurs MSG\_PROCESS\_MAP message will be send. |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROCESS\_UNMAP | 0x0013 | N | irregular | if upmapping occurs MSG\_PROCESS\_UNMAP message will be send. |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROCESS\_COMM | 0x0014 | N | irregular | |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_WEB\_SAMPLING | 0x0015 | N | irregular | Web sampling messages |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_APP\_SETUP\_STAGE | 0x0019 | N | irregular | application launching stage |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_WEB\_APP\_SETUP\_STAGE | 0x001A | N | irregular | web application launching stage |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG FBI | 0x0020 | N | irregular | function body instrumentation probe |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_UI\_HIERARCHY | 0x0021 | N | irregular | UI Hierarchy info |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE | 0x01xx | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_MEMORY | 0X0101 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_UICONTROL | 0X0102 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_UIEVENT | 0X0103 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_FILE | 0X0104 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_LIFECYCLE | 0X0105 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_SCREENSHOT | 0X0106 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_SCENE | 0X0107 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_THREAD | 0X0108 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_CUSTOM | 0X0109 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_SYNC | 0X0110 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_NETWORK | 0x0111 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_PROBE\_GLES20 | 0x0112 | N | irregular | resource log |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
-| MSG\_LSAN | 0x0022 | int32 status | | **status:** represents the subtype of message. It corresponds to this enum in SWAP:: |
-| | | int32 pid | | |
-| | | char[] string | | enum lsan_status { |
-| | | int32 call\_type\_ptr | | LSAN_MSG_ERR = 0x0, |
-| | | int64 caller\_addr | | LSAN_MSG_STATUS = 0x1, |
-| | | | | LSAN_MSG_REPORT = 0x2, |
-| | | | | LSAN_INIT_DONE = 0x4 |
-| | | | | }; |
-| | | | | |
-| | | | | | Possible values are:: |
-| | | | | |
-| | | | | | "0": Something went wrong (e.g. LSan failed to create report file) and the error occurred. |
-| | | | | | "2": The message contains information about LSan report (string value contains LSan report file name). |
-| | | | | | "5": Signals that LSan init is done (LSan shared library was successfully loaded into memory). |
-| | | | | |
-| | | | | | **string:** just plain C string. |
-| | | | | | If **status == "2",** contains LSan report file name. Otherwise it can contain arbitrary but valid string. |
-| | | | | | **call\_type\_ptr:** used to make SWAP internal routines happy. This value is always 0. |
-| | | | | | **caller\_addr:** used to make SWAP internal routines happy. This value is always 0. |
-| | | | | |
-+-----------------------------+--------+---------------------------+-------------------+------------------------------------------------------------------------------------------------------------------+
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+| name | type | value | description |
++=================+==============+===============+===================================================================================+
+| message ID | uint32 | 0x0001~0xFFFF | identify the message |
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+| sequence number | uint32 | number | sequential data message number, next to 0xFFFFFFFF is 0x0 |
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+| time | uint64 | time | time when the message was written in (uint32 seconds << 32) + uint32 nanoseconds |
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+| length | uint32 | any number | length of the payload |
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+| payload | variable | variable | message-specific data |
++-----------------+--------------+---------------+-----------------------------------------------------------------------------------+
+
+2. Data messages
+----------------
+
+2.1 Data message list
+`````````````````````
+
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| message ID | value | message count | message frequency | description |
++=============================+========+===========================+===================+=================================================================================+
+| MSG\_PROCESS\_INFO | 0x0001 | count of target processes | irregular | target process info log, see 2.2 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_TERMINATE | 0x0002 | count of target processes | irregular | termination happened, see 2.6 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_ERROR | 0x0003 | any number | irregular | error happened, see 2.7 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_SAMPLE | 0x0004 | any number | 10ms | regular sample message, see 2.3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_SYSTEM | 0x0005 | any number | 10~1000ms | regular system state message, first message time is tracing start time, see 2.4 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_FUNCTION\_ENTRY | 0x0008 | any number | irregular | function instrumentation log, see 2.9 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_FUNCTION\_EXIT | 0x0009 | any number | irregular | function instrumentation log, see 2.10 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_SYSCALL\_ENTRY | 0x000A | any number | irregular | system call function entry log, see 2.11 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_SYSCALL\_EXIT | 0x000B | any number | irregular | system call function entry log, see 2.12 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_FILE\_FUNCTION\_ENTRY | 0x000C | any number | irregular | non-target process file system call entry log, see 2.13 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_FILE\_FUNCTION\_EXIT | 0x000D | any number | irregular | non-target process file system call entry log, see 2.14 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROCESS\_STATUS\_INFO | 0x000E | any number | irregular | running process has been attached (this message should be sent |
+| | | | | right after MSG\_PROCESS\_INFO), see 2.5 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_CONTEXT\_SWITCH\_ENTRY | 0x0010 | any number | irregular | context switch entry log, see 2.15 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_CONTEXT\_SWITCH\_EXIT | 0x0011 | any number | irregular | context switch exit log, see 2.15 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROCESS\_MAP | 0x0012 | any number | irregular | new process mapping occured, see 2.16 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROCESS\_UNMAP | 0x0013 | any number | irregular | process upmapping occured, see 2.17 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_WEB\_SAMPLING | 0x0015 | any number | irregular | web sampling log, see 2.19 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_APP\_SETUP\_STAGE | 0x0019 | any number | irregular | application launching stage log, see 2.20 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_WEB\_APP\_SETUP\_STAGE | 0x001A | any number | irregular | web application launching stage log, see 2.21 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_FBI | 0x0020 | any number | irregular | function body instrumentation log, see 2.8 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_UI\_HIERARCHY | 0x0021 | any number | irregular | ui hierarchy info, see 2.22 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE | 0x01xx | any number | irregular | resource log, see 2.18 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_MEMORY | 0X0101 | any number | irregular | memory resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_UICONTROL | 0X0102 | any number | irregular | ui control resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_UIEVENT | 0X0103 | any number | irregular | ui event resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_FILE | 0X0104 | any number | irregular | file resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_LIFECYCLE | 0X0105 | any number | irregular | application lifecycle resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_SCREENSHOT | 0X0106 | any number | irregular | screenshot resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_SCENE | 0X0107 | any number | irregular | scene resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_THREAD | 0X0108 | any number | irregular | thread resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_CUSTOM | 0X0109 | any number | irregular | custom resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_SYNC | 0X0110 | any number | irregular | sync resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_NETWORK | 0x0111 | any number | irregular | network resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_PROBE\_GLES20 | 0x0112 | any number | irregular | openGL resource log, see Probe log subsection 3 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
+| MSG\_LSAN | 0x0022 | any number | irregular | LSAN log, see 2.22 |
++-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+
2.2 MSG\_PROCESS\_INFO
``````````````````````
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+===========================+==========+==========+=======+=======================================================================================================+
-| pid | int | 4 | | in 64bit linux ( max: 4194304, 2^22) |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| command\_name | string | variable | | command line string for the process |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| ppid | int | 4 | | |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| start time | time | 8 | | app launch time, when init is called. Also used for replay start time when replay later. |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| Lowest\_address | long | 8 | | matching executable path in MSG\_START-2.2 target information with /proc/pid/maps file, (lower bound) |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| Highest\_address | long | 8 | | (upper bound) |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| binary path | string | variable | | binary path in target, userd for key in the host |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| dependant libraries count | int | 4 | | |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| dependant library ojbect | object[] | variable | | |
-+---------------------------+----------+----------+-------+-------------------------------------------------------------------------------------------------------+
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| name | type | value | description |
++===========================+==========+==========+===============================================================================+
+| pid | uint32 | pid | current process id |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| command name | string | command | command line string for the process |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| ppid | uint32 | pid | parent process id |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| start time | uint64 | time | app launch time when init is called in |
+| | | | (uint32 seconds << 32) + uint32 nanoseconds |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| lowest address | uint64 | pointer | lower boundary address of executable in /proc/pid/maps file |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| highest address | uint64 | pointer | upper boundary address of executable in /proc/pid/maps file |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| binary path | string | path | binary path on target, userd for key in the host |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| dependent libraries count | uint32 | number | count of elements in dependent libraries array |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
+| dependent library list | array | array of | see 2.2.1 |
+| | | objects | |
++---------------------------+----------+----------+-------------------------------------------------------------------------------+
2.2.1 library object
''''''''''''''''''''
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+==================+========+==========+=======+=======================================================================================================================================================+
-| Lowest\_address | long | 8 | | lower boundary address of library |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-| Highest\_address | long | 8 | | upper boundary address of library |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-| Library Path | string | variable | | only regular filenames (not symbol links). e.g., /usr/lib/libfoo.so.0.0.0 instead of /usr/lib/libfoo.so |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++==================+========+==========+==============================================================================================================+
+| lowest address | uint64 | pointer | lower boundary address of library |
++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+
+| highest address | uint64 | pointer | upper boundary address of library |
++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+
+| library path | string | path | only regular file paths (not symbol links). e.g., /usr/lib/libfoo.so.0.0.0 instead of /usr/lib/libfoo.so |
++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+
2.3 MSG\_SAMPLE
```````````````
-+------------+------+--------+-------+--------------------------------------+
-| name | type | length | value | description |
-+============+======+========+=======+======================================+
-| PID | int | 4 | | |
-+------------+------+--------+-------+--------------------------------------+
-| PC address | long | 8 | | |
-+------------+------+--------+-------+--------------------------------------+
-| TID | int | 4 | | |
-+------------+------+--------+-------+--------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+------------+------+--------+-------+--------------------------------------+
++------------+--------+---------+----------------------------------------+
+| name | type | value | description |
++============+========+=========+========================================+
+| PID | uint32 | pid | process id |
++------------+--------+---------+----------------------------------------+
+| PC address | uint64 | pointer | address from pc register, |
+| | | | current execution address |
++------------+--------+---------+----------------------------------------+
+| TID | uint32 | tid | thread id |
++------------+--------+---------+----------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++------------+--------+---------+----------------------------------------+
2.4 MSG\_SYSTEM
```````````````
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+========================================+==========+=========================+=======================+===================================================================================+
-| CPU frequency | float[] | count of CPU \* 4 | | [feature: SYSTEM\_CPU], [“f”] – for each CPU |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| CPU load | float[] | count of CPU \* 4 | | [feature: SYSTEM\_CPU], [“f”] – for each CPU |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| System memory used | long | 8 | | [feature: SYSTEM\_MEMORY] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Count of target processes | int | 4 | | [feature: SYSTEM\_PROCESS or SYSTEM\_THREAD\_LOAD], only for the target processes |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Process profiling information | object[] | | | [feature: SYSTEM\_PROCESS or SYSTEM\_THREAD\_LOAD], only for the target processes |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Count of the other processes | int | 4 | | [feature: SYSTEM\_PROCESSES\_LOAD], the other processes |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Process load | object[] | count of processes \* 8 | | [feature: SYSTEM\_PROCESSES\_LOAD], [“d”, “f”] – (PID, load) for each process |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| total used drive | int | 4 | | [feature: SYSTEM\_DISK] MBs used in the flash memory |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| DISK reads | int | 4 | byte size | [feature: SYSTEM\_DISK] /proc/diskstats - #reads |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| DISK sectors read | int | 4 | the number of sectors | [feature: SYSTEM\_DISK] /proc/diskstats - #sectors read |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| DISK writes | int | 4 | byte size | [feature: SYSTEM\_DISK] /proc/diskstats - #writes |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| DISK sectors written | int | 4 | the number of sectors | [feature: SYSTEM\_DISK] /proc/diskstats - #sectors written |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Network send size | int | 4 | | [feature: SYSTEM\_NETWORK] /proc/net/dev |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Network receive size | int | 4 | | [feature: SYSTEM\_NETWORK] /proc/net/dev |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| WiFi status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| BT status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| GPS status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Brightness status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Camera status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Sound status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Audio status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Vibration status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Voltage status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| RSSI status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Video status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| Call status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| DNet status | int | 4 | | [feature: SYSTEM\_DEVICE] |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| energy usage | int | 4 | | [feature: SYSTEM\_ENERGY] Energy usage (watt) |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| energy usage per devices | int[] | 4\*count | | [feature: SYSTEM\_ENERGY] Energy usage (watt) |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
-| application's energy usage per devices | int[] | 4\*count | | [feature: SYSTEM\_ENERGY] Energy usage (watt) |
-+----------------------------------------+----------+-------------------------+-----------------------+-----------------------------------------------------------------------------------+
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| name | type | value | description |
++========================================+==========+=======================+===================================================================================+
+| CPU frequency | array | array of floats | CPU frequency for each CPU |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| CPU load | array | array of floats | CPU load for each CPU |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| system memory used | uint64 | size | used memory amount in bytes |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| count of target processes | uint32 | number | instrumented processes count |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| process profiling information | struct | process profiling | see 2.4.1, process info for each instrumented process |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| count of the other processes | uint32 | number | the other processes count |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| process load | array | array of objects | see 2.4.2 |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| total used drive | uint32 | number | used flash memory in MBs |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| disk reads | uint32 | number | disk reads amount from /proc/diskstats |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| disk sectors read | uint32 | number | disk sectors reads amount from /proc/diskstats |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| disk writes | uint32 | number | disk writes amount from /proc/diskstats |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| disk sectors written | uint32 | number | disk sectors written amount from /proc/diskstats |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| network send size | uint32 | number | bytes amount sent from /proc/net/dev |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| network receive size | uint32 | number | bytes amount received from /proc/net/dev |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| WiFi status | uint32 | number | WiFi state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| BT status | uint32 | number | bluetooth state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| GPS status | uint32 | number | GPS state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Brightness status | uint32 | number | brightness level from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Camera status | uint32 | number | camera state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Sound status | uint32 | number | sound level from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Audio status | uint32 | number | audio state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Vibration status | uint32 | number | vibration state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Voltage status | uint32 | number | voltage state from /sys/class/power_supply/battery/voltage_now |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| RSSI status | uint32 | number | current telephony network RSSI strength from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Video status | uint32 | number | video state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| Call status | uint32 | number | call state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| DNet status | uint32 | number | network state from vconf |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| energy usage | uint32 | number | total energy usage in watts |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| energy usage per devices | array | array of uint32 | energy usage for each device in watts |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
+| application energy usage per devices | array | array of uint32 | energy usage by application for each device in watts |
++----------------------------------------+----------+-----------------------+-----------------------------------------------------------------------------------+
2.4.1 Process profiling
'''''''''''''''''''''''
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+==================+========+=======================+=======+===================================================================================================+
-| PID | int | 4 | | [feature: SYSTEM\_PROCESS or SYSTEM\_THREAD\_LOAD], only for the target processes |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Process load | float | 4 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Virtual memory | long | 8 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Resident memory | long | 8 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Shared memory | long | 8 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| PSS memory | long | 8 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Total alloc size | long | 8 | | [feature: SYSTEM\_PROCESS] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Count of threads | int | 4 | | [feature: SYSTEM\_THREAD\_LOAD] |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
-| Thread load | object | count of threads \* 8 | | [feature: SYSTEM\_THREAD\_LOAD], [“d”, “f”] – (TID, load) for each thread in the target processes |
-+------------------+--------+-----------------------+-------+---------------------------------------------------------------------------------------------------+
++------------------+--------+-----------------------+-------------------------------------------------+
+| name | type | value description |
++==================+========+=======================+=================================================+
+| PID | uint32 | pid | process id |
++------------------+--------+-----------------------+-------------------------------------------------+
+| process load | float | float number | process load |
++------------------+--------+-----------------------+-------------------------------------------------+
+| virtual memory | uint64 | size | virtual memory size in bytes |
++------------------+--------+-----------------------+-------------------------------------------------+
+| resident memory | uint64 | size | resident memory size in bytes |
++------------------+--------+-----------------------+-------------------------------------------------+
+| shared memory | uint64 | size | shared memory size in bytes |
++------------------+--------+-----------------------+-------------------------------------------------+
+| PSS memory | uint64 | size | amount of RAM mapped into the process weighted |
+| | | | by the amount it is shared across processes |
++------------------+--------+-----------------------+-------------------------------------------------+
+| total alloc size | uint64 | size | allocated memory size in bytes |
++------------------+--------+-----------------------+-------------------------------------------------+
+| count of threads | uint32 | any number | count of elements in thread load array |
++------------------+--------+-----------------------+-------------------------------------------------+
+| thread load list | array | array of objects | see 2.4.3 |
++------------------+--------+-----------------------+-------------------------------------------------+
+
+2.4.2 Process load
+''''''''''''''''''
+
++------------+--------+--------------+----------------------------------------+
+| name | type | value | description |
++============+========+==============+========================================+
+| PID | uint32 | pid | process id |
++------------+--------+--------------+----------------------------------------+
+| load | float | float number | process load |
++------------+--------+--------------+----------------------------------------+
+
+2.4.3 Thread load
+'''''''''''''''''
+
++------------+--------+--------------+----------------------------------------+
+| name | type | value | description |
++============+========+==============+========================================+
+| TID | uint32 | tid | thread id |
++------------+--------+--------------+----------------------------------------+
+| load | float | float number | thread load |
++------------+--------+--------------+----------------------------------------+
2.5 MSG\_PROCESS\_STATUS\_INFO
``````````````````````````````
-+----------------+----------+----------+-------+-----------------------------------------------------------------+
-| name | type | length | value | description |
-+================+==========+==========+=======+=================================================================+
-| pid | int | 4 | | in 64bit linux ( max: 4194304, 2^22) |
-+----------------+----------+----------+-------+-----------------------------------------------------------------+
-| file count | int | 4 | | opened file count (should be zero when file option is disabled) |
-+----------------+----------+----------+-------+-----------------------------------------------------------------+
-| open file list | object[] | variable | | nothing if the file count = 0 |
-+----------------+----------+----------+-------+-----------------------------------------------------------------+
-
-2.6.1 open file list
-''''''''''''''''''''
++--------------------+----------+------------------+------------------------------------------------------------------------+
+| name | type | value | description |
++====================+==========+==================+========================================================================+
+| pid | uint32 | pid | process id |
++--------------------+----------+------------------+------------------------------------------------------------------------+
+| opened files count | uint32 | any number | count of elements in opened files array (0 if file option is disabled) |
++--------------------+----------+------------------+------------------------------------------------------------------------+
+| opened files list | array | array of objects | see 2.5.1 |
++--------------------+----------+----------+-------+------------------------------------------------------------------------+
+
+2.5.1 opened files list
+'''''''''''''''''''''''
-+-----------+--------+----------+-------+-------------+
-| name | type | length | value | description |
-+===========+========+==========+=======+=============+
-| FD | int | 4 | | |
-+-----------+--------+----------+-------+-------------+
-| TID | int | 4 | | |
-+-----------+--------+----------+-------+-------------+
-| File size | long | 8 | | |
-+-----------+--------+----------+-------+-------------+
-| File path | string | variable | | |
-+-----------+--------+----------+-------+-------------+
-
-2.7 MSG\_TERMINATE
++-----------+--------+----------+---------------------+
+| name | type | value | description |
++===========+========+==========+=====================+
+| FD | uint32 | fd | file descriptor |
++-----------+--------+----------+---------------------+
+| TID | uint32 | tid | thread id |
++-----------+--------+----------+---------------------+
+| file size | uint64 | size | file size in bytes |
++-----------+--------+----------+---------------------+
+| file path | string | path | file path on target |
++-----------+--------+----------+---------------------+
+
+2.6 MSG\_TERMINATE
``````````````````
-+------+------+--------+-------+-------------+
-| name | type | length | value | description |
-+======+======+========+=======+=============+
-| TYPE | int | 4 | | |
-+------+------+--------+-------+-------------+
-| PID | int | 4 | | |
-+------+------+--------+-------+-------------+
++------+--------+-------+-------------+
+| name | type | value | description |
++======+========+=======+=============+
+| PID | uint32 | pid | process id |
++------+--------+-------+-------------+
-2.8 MSG\_ERROR
+2.7 MSG\_ERROR
``````````````
-+---------------+--------+----------+-------+---------------------+
-| name | type | length | value | description |
-+===============+========+==========+=======+=====================+
-| error message | string | variable | | need more to define |
-+---------------+--------+----------+-------+---------------------+
-
-2.9 MSG\_RECORD
-```````````````
-
-+---------------+----------+--------------------+-------+-------------+
-| name | type | length | value | description |
-+===============+==========+====================+=======+=============+
-| object count | int | 4 | | |
-+---------------+----------+--------------------+-------+-------------+
-| record\_event | object[] | count\*object size | | |
-+---------------+----------+--------------------+-------+-------------+
-
-2.9.1 recorded\_event object
-''''''''''''''''''''''''''''
-
-+-------------+------+--------+-------+-------------+
-| name | type | length | value | description |
-+=============+======+========+=======+=============+
-| event ID | int | 4 | | |
-+-------------+------+--------+-------+-------------+
-| event type | int | 4 | | |
-+-------------+------+--------+-------+-------------+
-| event code | int | 4 | | |
-+-------------+------+--------+-------+-------------+
-| event value | int | 4 | | |
-+-------------+------+--------+-------+-------------+
-
-2.10 MSG\_FUNCTION\_ENTRY
-`````````````````````````
++---------------+--------+-----------------+---------------------+
+| name | type | value | description |
++===============+========+=================+=====================+
+| error message | string | message | error description |
++---------------+--------+-----------------+---------------------+
+
+2.8 MSG\_FBI
+````````````
+
++-------------+--------------+-----------+--------------------------------------------------+
+| name | type | value | description |
++=============+==============+===========+==================================================+
+| variable id | uint32 | number | it is received through control channel |
++-------------+--------------+-----------+--------------------------------------------------+
+| size | uint32 | size | data size |
++-------------+--------------+-----------+--------------------------------------------------+
+| data | char array | data | target data |
++-------------+--------------+-----------+--------------------------------------------------+
+
+2.9 MSG\_FUNCTION\_ENTRY
+````````````````````````
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=====================+=================+==========+=========================+==========================================================================================================================+
-| PID | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| pc\_address | long | 8 | | start address of the function, used for ID |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| caller\_pc\_address | long | 8 | | address of caller of the function |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| count of Args | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| args | (char\|value)[] | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-| | | | | 04 (FILE) : dentry + fd + file path |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.11 MSG\_FUNCTION\_EXIT
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| pc address | uint64 | pointer | start address of the function, used for ID |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| caller pc address | uint64 | pointer | address of caller of the function |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| count of args | uint32 | any number | counts of args (type + value pairs) |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| args | string | array of | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
+| | | args | 04 (FILE) : dentry + fd + file path |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.10 MSG\_FUNCTION\_EXIT
````````````````````````
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=====================+===============+==========+=========================+==========================================================================================================================+
-| PID | int | 4 | | |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int | 4 | | |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| pc\_address | long | 8 | | start address of the function, used for ID |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| caller\_pc\_address | long | 8 | | address of caller of the function |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Return | (char\|value) | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.12 MSG\_SYSCALL\_ENTRY
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| pc address | uint64 | pointer | start address of the function, used for ID |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| caller pc address | uint64 | pointer | address of caller of the function |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| return | string | arg | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.11 MSG\_SYSCALL\_ENTRY
````````````````````````
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=====================+=================+==========+=========================+==========================================================================================================================+
-| PID | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Probe type | int | 4 | | file: 01, ipc:02, process: 04, signal: 08, network: 10, desc: 20 |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| pc\_address | long | 8 | | start address of the function, used for ID |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| caller\_pc\_address | long | 8 | | address of caller of the function |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| count of Args | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| args | (char\|value)[] | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-| | | | | 04 (FILE) : dentry + fd + file path |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.13 MSG\_SYSCALL\_EXIT
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| probe type | uint32 | type number| file: 01, ipc:02, process: 04, signal: 08, network: 10, desc: 20 |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| pc address | uint64 | pointer | start address of the function, used for ID |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| caller pc address | uint64 | pointer | address of caller of the function |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| count of args | uint32 | any number | counts of args (type + value pairs) |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| args | string | array of | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
+| | | args | 04 (FILE) : dentry + fd + file path |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.12 MSG\_SYSCALL\_EXIT
```````````````````````
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=====================+===============+==========+=========================+==========================================================================================================================+
-| PID | int | 4 | | |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int | 4 | | |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Probe type | int | 4 | | file: 01, ipc:02, process: 04, signal: 08, network: 10, desc: 20 |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| pc\_address | long | 8 | | start address of the function, used for ID |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| caller\_pc\_address | long | 8 | | address of caller of the function |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Return | (char\|value) | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-+---------------------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.14 MSG\_FILE\_FUNCTION\_ENTRY
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| probe type | uint32 | type number| file: 01, ipc:02, process: 04, signal: 08, network: 10, desc: 20 |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| pc address | uint64 | pointer | start address of the function, used for ID |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| caller pc address | uint64 | pointer | address of caller of the function |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| return | string | arg | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.13 MSG\_FILE\_FUNCTION\_ENTRY
```````````````````````````````
-+----------------+----------+----------+-------+------------------------------------------------------+
-| name | type | length | value | description |
-+================+==========+==========+=======+======================================================+
-| PID | int | 4 | | |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| TID | int | 4 | | |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| FD | int | 4 | | |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| event type | int | 4 | | file API type |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| real file path | string | variable | | |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| args type | int | 4 | | 0 : (general info), 1 : (open info), 2 : (lock info) |
-+----------------+----------+----------+-------+------------------------------------------------------+
-| args payload | variable | variable | | |
-+----------------+----------+----------+-------+------------------------------------------------------+
-
-2.14.1 args payload
-'''''''''''''''''''
-
-0 (general info)
-................
-
-empty
-
-1 (open info)
-.............
-
-+----------------+--------+----------+-------+----------------------------------+
-| name | type | length | value | description |
-+================+========+==========+=======+==================================+
-| open file path | string | variable | | file path to passed by arguments |
-+----------------+--------+----------+-------+----------------------------------+
-
-2 (lock info)
-.............
-
-+--------+------+--------+-------+------------------------------------------------------------+
-| name | type | length | value | description |
-+========+======+========+=======+============================================================+
-| type | int | 4 | | Type of lock: F\_RDLCK, F\_WRLCK, F\_UNLCK |
-+--------+------+--------+-------+------------------------------------------------------------+
-| whence | int | 4 | | How to interpret l\_start: SEEK\_SET, SEEK\_CUR, SEEK\_END |
-+--------+------+--------+-------+------------------------------------------------------------+
-| start | long | 8 | | Starting offset for lock |
-+--------+------+--------+-------+------------------------------------------------------------+
-| length | long | 8 | | Number of bytes to lock |
-+--------+------+--------+-------+------------------------------------------------------------+
-
-2.15 MSG\_FILE\_FUNCTION\_EXIT
++----------------+------------+------------+------------------------------------------------------+
+| name | type | value | description |
++================+============+============+======================================================+
+| PID | uint32 | pid | process id |
++----------------+------------+------------+------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++----------------+------------+------------+------------------------------------------------------+
+| FD | uint32 | fd | file descriptor |
++----------------+------------+------------+------------------------------------------------------+
+| event type | uint32 | number | file API type |
++----------------+------------+------------+------------------------------------------------------+
+| real file path | string | path | file path on target |
++----------------+------------+------------+------------------------------------------------------+
+| args type | uint32 | 0, 1, 2 | 0 - general info, 1 - open info, 2 - lock info |
++----------------+------------+------------+------------------------------------------------------+
+| args payload | variable | variable | 0: empty, 1: see 2.13.1, 2: see 2.13.2 |
++----------------+------------+------------+------------------------------------------------------+
+
+2.13.1 open info
+''''''''''''''''
+
++----------------+--------+-------+----------------------------------+
+| name | type | value | description |
++================+========+=======+==================================+
+| open file path | string | path | file path to passed by arguments |
++----------------+--------+-------+----------------------------------+
+
+2.13.2 lock info
+''''''''''''''''
+
++--------+--------+---------+------------------------------------------------------------+
+| name | type | value | description |
++========+========+=========+============================================================+
+| type | uint32 | number | type of lock: F\_RDLCK, F\_WRLCK, F\_UNLCK |
++--------+--------+---------+------------------------------------------------------------+
+| whence | uint32 | number | how to interpret l\_start: SEEK\_SET, SEEK\_CUR, SEEK\_END |
++--------+--------+---------+------------------------------------------------------------+
+| start | uint64 | pointer | starting offset for lock |
++--------+--------+---------+------------------------------------------------------------+
+| length | uint64 | size | number of bytes to lock |
++--------+--------+---------+------------------------------------------------------------+
+
+2.14 MSG\_FILE\_FUNCTION\_EXIT
``````````````````````````````
-+--------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+========+===============+==========+=========================+==========================================================================================================================+
-| PID | int | 4 | | |
-+--------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int | 4 | | |
-+--------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Return | (char\|value) | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-+--------+---------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.16 MSG\_CONTEXT\_SWITCH\_ENTRY
-````````````````````````````````
-
-+-------------+------+--------+-------+--------------------------------------------------------+
-| name | type | length | value | description |
-+=============+======+========+=======+========================================================+
-| pc\_address | long | 8 | | current pc address when the context switch is occurred |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| PID | int | 4 | | |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| TID | int | 4 | | |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+-------------+------+--------+-------+--------------------------------------------------------+
-
-2.17 MSG\_CONTEXT\_SWITCH\_EXIT
-```````````````````````````````
-
-+-------------+------+--------+-------+--------------------------------------------------------+
-| name | type | length | value | description |
-+=============+======+========+=======+========================================================+
-| pc\_address | long | 8 | | current pc address when the context switch is occurred |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| PID | int | 4 | | |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| TID | int | 4 | | |
-+-------------+------+--------+-------+--------------------------------------------------------+
-| CPU num | int | 4 | | which CPU the function was executed. |
-+-------------+------+--------+-------+--------------------------------------------------------+
-
-2.18 MSG\_PROCESS\_MAP
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| return | string | arg | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.15 MSG\_CONTEXT\_SWITCH\_ENTRY, MSG\_CONTEXT\_SWITCH\_EXIT
+````````````````````````````````````````````````````````````
+
++-------------+--------+---------+--------------------------------------------------------+
+| name | type | value | description |
++=============+========+=========+========================================================+
+| pc address | uint64 | pointer | current pc address when the context switch is occurred |
++-------------+--------+---------+--------------------------------------------------------+
+| PID | uint32 | pid | process id |
++-------------+--------+---------+--------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++-------------+--------+---------+--------------------------------------------------------+
+| CPU num | uint32 | number | on which CPU the function was executed |
++-------------+--------+---------+--------------------------------------------------------+
+
+2.16 MSG\_PROCESS\_MAP
``````````````````````
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+==================+========+==========+=======+=======================================================================================================+
-| pid | int | 4 | | |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| Lowest\_address | long | 8 | | matching executable path in MSG\_START-2.2 target information with /proc/pid/maps file, (lower bound) |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| Highest\_address | long | 8 | | (upper bound) |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------+
-| library path | string | variable | | |
-+------------------+--------+----------+-------+-------------------------------------------------------------------------------------------------------+
-
-2.19 MSG\_PROCESS\_UNMAP
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++==================+========+=========+==================================================================================================+
+| pid | uint32 | pid | process id |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| lowest address | uint64 | pointer | lower boundary address of executable in /proc/pid/maps file |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| highest address | uint64 | pointer | upper boundary address of executable in /proc/pid/maps file |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| library path | string | path | library path on target |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+
+2.17 MSG\_PROCESS\_UNMAP
````````````````````````
-+------------------+------+--------+-------+-------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+==================+======+========+=======+=======================================================================================================+
-| pid | int | 4 | | |
-+------------------+------+--------+-------+-------------------------------------------------------------------------------------------------------+
-| Lowest\_address | long | 8 | | matching executable path in MSG\_START-2.2 target information with /proc/pid/maps file, (lower bound) |
-+------------------+------+--------+-------+-------------------------------------------------------------------------------------------------------+
-| Highest\_address | long | 8 | | (upper bound) |
-+------------------+------+--------+-------+-------------------------------------------------------------------------------------------------------+
-
-2.20 MSG\_PROBE (see 'probe log' worksheet for each probe message)
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++==================+========+=========+==================================================================================================+
+| pid | uint32 | pid | process id |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| lowest address | uint64 | pointer | lower boundary address of executable in /proc/pid/maps file |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| highest address | uint64 | pointer | upper boundary address of executable in /proc/pid/maps file |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+
+2.18 MSG\_PROBE (see 'probe log' worksheet for each probe message)
``````````````````````````````````````````````````````````````````
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=====================+=================+==========+=========================+==========================================================================================================================+
-| API ID | int(4) | | | need to define each probed OSP/Glibc APIs |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| PID | int(4) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| TID | int(4) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| count of Args | int | 4 | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| args | (char\|value)[] | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), s(string end with '\\0') |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Return | (char\|value) | variable | array of (type + value) | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| errno | long(8) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| internalCall | int(4) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| Caller\_PC\_address | long(8) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| reserved | int(4) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-| reserved | int(4) | | | |
-+---------------------+-----------------+----------+-------------------------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.21 MSG\_WEB\_SAMPLING
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=====================+============+============+==========================================================================================================================+
+| API ID | uint32 | api id | function id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| PID | uint32 | pid | process id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| TID | uint32 | tid | thread id |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| count of args | uint32 | any number | counts of args (type + value pairs) |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| args | string | array of | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| return | string | arg | arg: type (char) + corresponding value |
+| | | | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string end with '\\0') |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| errno | uint64 | number | error number |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| call type | uint32 | -1, 0, 1 | | -1 - NOT\_INSTRUMENTED, |
+| | | | | 0 - EXTERNAL_CALL, |
+| | | | | 1 - INTERNAL_CALL |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| caller pc addr | uint64 | pointer | address of caller of the function |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+| reserved | 2 * uint32 | 0, 0 | reserved for future use |
++---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.19 MSG\_WEB\_SAMPLING
```````````````````````
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| name | type | length | value | description |
-+======================+=========================+===========================+=======+============================+
-| Subtype | unsigned 8-bit integer | 1 octet | 0 | Sub types (for future use) |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| PID | unsigned 32-bit integer | 4 octets | | |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| TID | unsigned 32-bit integer | 4 octets | | |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| function line number | unsigned 32-bit integer | 4 octets | | |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| function name | null-terminated string | variable, minimum 1 octet | | |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-| function url | null-terminated string | variable, minimum 1 octet | | |
-+----------------------+-------------------------+---------------------------+-------+----------------------------+
-
-2.22 MSG\_APP\_SETUP\_STAGE
++----------------------+---------+-------+----------------------------+
+| name | type | value | description |
++======================+=========+=======+============================+
+| subtype | uint8 | 0 | reserved for future use |
++----------------------+---------+-------+----------------------------+
+| PID | uint32 | pid | process id |
++----------------------+---------+-------+----------------------------+
+| TID | uint32 | pid | thread id |
++----------------------+---------+-------+----------------------------+
+| function line number | uint32 | number| source code line number |
++----------------------+---------+-------+----------------------------+
+| function name | string | name | source code function name |
++----------------------+---------+-------+----------------------------+
+| function url | string | url | source code function url |
++----------------------+---------+-------+----------------------------+
+
+2.20 MSG\_APP\_SETUP\_STAGE
```````````````````````````
-+-------------+------+--------+-------+--------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=============+======+========+=======+======================================================================================+
-| PID | int | 4 | | |
-+-------------+------+--------+-------+--------------------------------------------------------------------------------------+
-| stage\_ID | int | 4 | | | 0x00 - library mapping : stage when linker maps application and dependencies |
-| | | | | | 0x01 - main : executing application main from the beginning to app\_efl\_main call |
-| | | | | | 0x02 - create : executing app\_create\_cb from app\_event\_callback\_s |
-| | | | | | 0x03 - service : executing app\_service\_cb from app\_event\_callback\_s |
-| | | | | |
-+-------------+------+--------+-------+--------------------------------------------------------------------------------------+
-| begin\_time | time | 8 | | |
-+-------------+------+--------+-------+--------------------------------------------------------------------------------------+
-| end\_time | time | 8 | | |
-+-------------+------+--------+-------+--------------------------------------------------------------------------------------+
-
-2.23 MSG\_WEB\_APP\_SETUP\_STAGE
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| name | type | value | description |
++=============+=========+========+======================================================================================+
+| PID | uint32 | pid | process id |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| stage ID | uint32 | number | | 0x00 - library mapping : stage when linker maps application and dependencies |
+| | | | | 0x01 - main : executing application main from the beginning to app\_efl\_main call |
+| | | | | 0x02 - create : executing app\_create\_cb from app\_event\_callback\_s |
+| | | | | 0x03 - service : executing app\_service\_cb from app\_event\_callback\_s |
+| | | | |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| begin time | uint64 | time | begin setup time in (uint32 seconds << 32) + uint32 nanoseconds |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| end time | uint64 | time | end setup time in (uint32 seconds << 32) + uint32 nanoseconds |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+
+2.21 MSG\_WEB\_APP\_SETUP\_STAGE
````````````````````````````````
-+---------+--------+----------+-------+--------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=========+========+==========+=======+==================================================================================================+
-| PID | int | 4 | | |
-+---------+--------+----------+-------+--------------------------------------------------------------------------------------------------+
-| wsp\_id | int | 4 | | | 0x0001 - WSP\_RES\_LOAD\_BEGIN 0x0002 - WSP\_RES\_LOAD\_END |
-| | | | | | 0x0003 - WSP\_RES\_PROC\_BEGIN |
-| | | | | | 0x0004 - WSP\_RES\_PROC\_END |
-| | | | | | 0x0005 - WSP\_DRAW\_BEGIN |
-| | | | | | 0x0006 - WSP\_DRAW\_END |
-+---------+--------+----------+-------+--------------------------------------------------------------------------------------------------+
-| res\_id | int | 4 | | wsp\_id : WSP\_RES\_LOAD\_BEGIN, WSP\_RES\_LOAD\_END, WSP\_RES\_PROC\_BEGIN, WSP\_RES\_PROC\_END |
-+---------+--------+----------+-------+--------------------------------------------------------------------------------------------------+
-| path | string | variable | | wsp\_id : WSP\_RES\_LOAD\_BEGIN |
-+---------+--------+----------+-------+--------------------------------------------------------------------------------------------------+
-
-2.24 MSG\_FBI
-`````````````
-
-+-------------+--------------+----------+-----------+--------------------------------------------------+
-| name | type | length | value | description |
-+=============+==============+==========+===========+==================================================+
-| variable id | unsigned int | 4 | | value, that has been received on control channel |
-+-------------+--------------+----------+-----------+--------------------------------------------------+
-| size | unsigned int | 4 | data size | |
-+-------------+--------------+----------+-----------+--------------------------------------------------+
-| data | char[] | variable | data | target data |
-+-------------+--------------+----------+-----------+--------------------------------------------------+
-
-2.25 MSG\_UI\_HIERARCHY (Response of MSG\_GET\_UI\_HIERARCHY)
-`````````````````````````````````````````````````````````````
-
-+-----------+--------+----------+-------+------------------------------------------------------------+
-| name | type | length | value | description |
-+===========+========+==========+=======+============================================================+
-| file path | string | variable | | file include binary stream of (2.28.1 ui object info list) |
-+-----------+--------+----------+-------+------------------------------------------------------------+
-
-2.25.1 ui object info list
-''''''''''''''''''''''''''
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| name | type | value | description |
++=============+=========+========+======================================================================================+
+| PID | uint32 | pid | process id |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| wsp id | uint32 | 1-6 | | 0x0001 - WSP\_RES\_LOAD\_BEGIN, |
+| | | | | 0x0002 - WSP\_RES\_LOAD\_END, |
+| | | | | 0x0003 - WSP\_RES\_PROC\_BEGIN, |
+| | | | | 0x0004 - WSP\_RES\_PROC\_END, |
+| | | | | 0x0005 - WSP\_DRAW\_BEGIN, |
+| | | | | 0x0006 - WSP\_DRAW\_END |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| res id | uint32 | number | resource id if wsp id = 1-4, otherwise there is nothing |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+| path | string | path | resource path if wsp id = 1, otherwise there is nothing |
++-------------+---------+--------+--------------------------------------------------------------------------------------+
+
+2.22 MSG\_LSAN
+``````````````
+
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++==================+========+=========+==================================================================================================+
+| status | uint32 | 0,1,2,4 | | 0x0 - LSAN\_MSG\_ERR, |
+| | | | | 0x1 - LSAN\_MSG\_STATUS, |
+| | | | | 0x2 - LSAN\_MSG\_REPORT, |
+| | | | | 0x4 - LSAN\_MSG\_DONE |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| pid | uint32 | pid | process id |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| message | string | variable| if status = 2: LSan report file name, else: arbitrary valid string |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| call type ptr | uint32 | 0 | used by SWAP internally, it is always 0 |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+| caller addr | uint64 | 0 | used by SWAP internally, it is always 0 |
++------------------+--------+---------+--------------------------------------------------------------------------------------------------+
+
+2.23 MSG\_UI\_HIERARCHY
+```````````````````````
+
++-----------+--------+-------+----------------------------------------------------------------+
+| name | type | value | description |
++===========+========+=======+================================================================+
+| file path | string | path | file contains binary stream of ui object info list, see 2.23.1 |
++-----------+--------+-------+----------------------------------------------------------------+
-+--------------------+--------------+----------+-------+-----------------------------------------------------+
-| name | type | length | value | description |
-+====================+==============+==========+=======+=====================================================+
-| request option | byte | 1 | | payload of MSG\_GET\_UI\_HIERARCHY (one of 0, 1, 2) |
-+--------------------+--------------+----------+-------+-----------------------------------------------------+
-| Count of ui object | int | 4 | | |
-+--------------------+--------------+----------+-------+-----------------------------------------------------+
-| ui object array | ui\_object[] | variable | | Refer to 2.28.2 |
-+--------------------+--------------+----------+-------+-----------------------------------------------------+
-
-2.25.2 info of a ui object
+2.23.1 ui object info list
''''''''''''''''''''''''''
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| name | type | length | value | description |
-+=========================+============+==========+=======+==========================================================================================================================+
-| object\_address | long | 8 | | From 1 |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| object\_category | byte | 1 | | 0x01 - Evas, 0x02 - Elementary, 0x03 - Edje |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| object\_type\_code | int | 4 | | Refer to 2.28.3 |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| object\_type\_name | string | variable | | ex) "elm\_button" |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| rendering time | time | 8 | | 4byte int (second) + 4byte int (nanosecond), second: milli-micro-nano-pico, If Rendering option is "0", this value is 0. |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| parent\_object\_address | long | 8 | | need to make the UI Hierarchy, if it's a Root object, this value is "0". |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-| properties | properties | variable | | 2.28.4 properties of a UI Object |
-+-------------------------+------------+----------+-------+--------------------------------------------------------------------------------------------------------------------------+
-
-2.25.3 code of ui object
++---------------------+--------------+------------------+-----------------------------------------------------+
+| name | type | value | description |
++=====================+==============+==================+=====================================================+
+| request option | byte | 0-2 | payload of MSG\_GET\_UI\_HIERARCHY |
++---------------------+--------------+------------------+-----------------------------------------------------+
+| count of ui objects | uint32 | any number | count of elements in ui objects array |
++---------------------+--------------+------------------+-----------------------------------------------------+
+| ui objects array | array | array of objects | see 2.23.2 |
++---------------------+--------------+------------------+-----------------------------------------------------+
+
+2.23.2 ui object
+''''''''''''''''
+
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| name | type | value | description |
++=========================+============+==========+==========================================================================================================================+
+| object address | uint64 | pointer | ui object address |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| object category | byte | 1-3 | 0x01 - Evas, 0x02 - Elementary, 0x03 - Edje |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| object type code | uint32 | number | see 2.23.3 |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| object type name | string | variable | ui object type name like "elm\_button" |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| rendering time | uint64 | time | rendering time in (uint32 seconds << 32) + uint32 nanoseconds. If rendering option is disabled, this value is 0. |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| parent object address | uint64 | pointer | parent object address is needed to make the UI Hierarchy, if it's a root object, this value is 0. |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+| properties | properties | variable | properties of a ui object, see 2.23.4 |
++-------------------------+------------+----------+--------------------------------------------------------------------------------------------------------------------------+
+
+2.23.3 code of ui object
''''''''''''''''''''''''
+--------+-------------------------------+
| 0x0309 | background |
+--------+-------------------------------+
-2.25.4 properties of a UI Object
+2.23.4 properties of a UI Object
''''''''''''''''''''''''''''''''
-+--------------------------------+------------+----------+-------+-----------------------------------------------------------------------+
-| name | type | length | value | description |
-+================================+============+==========+=======+=======================================================================+
-| common\_properties | properties | variable | | Refer to the 10.1 of Sheet "HV Properties". |
-+--------------------------------+------------+----------+-------+-----------------------------------------------------------------------+
-| category\_specific\_properties | properties | variable | | Additional properties according to object category (Elementary, Edje) |
-| | | | | Refer to the 10.2, 10.3 of Sheet "HV Properties". |
-+--------------------------------+------------+----------+-------+-----------------------------------------------------------------------+
-| type\_specific\_properties | properties | variable | | Additional properties according to object specific type |
-| | | | | Refer to the Sheet "HV Properties". |
-+--------------------------------+------------+----------+-------+-----------------------------------------------------------------------+
++--------------------------------+------------+------------+-----------------------------------------------------------------------+
+| name | type | value | description |
++================================+============+============+=======================================================================+
+| common properties | struct | properties | see 6.1.1 |
++--------------------------------+------------+------------+-----------------------------------------------------------------------+
+| category specific properties | struct | properties | additional properties according to object category, see 6.1.2, 6.1.3 |
++--------------------------------+------------+------------+-----------------------------------------------------------------------+
+| type specific properties | struct | properties | additional properties according to object type, see 6.2, 6.3 |
++--------------------------------+------------+------------+-----------------------------------------------------------------------+
3. Probe log
------------