From: Anastasia Lyupa Date: Fri, 17 Nov 2017 12:11:46 +0000 (+0300) Subject: Update Probes section in protocol documentation X-Git-Tag: SWAP-CLI_1.0~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60e958f161056040e216c8e9a4e3539b3dc60bd5;p=platform%2Fcore%2Fsystem%2Fswap-manager.git Update Probes section in protocol documentation Change-Id: I69a9876df78a5fe4c6cdc4c3a8b7fbd63a2b5e46 Signed-off-by: Anastasia Lyupa --- diff --git a/docs/protocol.rst b/docs/protocol.rst index f985a70..1be5ff1 100644 --- a/docs/protocol.rst +++ b/docs/protocol.rst @@ -538,29 +538,23 @@ Data channel +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ | 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\_MEMORY | 0X0101 | any number | irregular | memory API log, see 3.1 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| 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 3.2 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| MSG\_PROBE\_UIEVENT | 0X0103 | any number | irregular | ui event resource log, see Probe log subsection 3 | +| MSG\_PROBE\_RESOURCE | 0X0104 | any number | irregular | file API log, see 3.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 3.4 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| 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 3.5 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| MSG\_PROBE\_SCREENSHOT | 0X0106 | any number | irregular | screenshot resource log, see Probe log subsection 3 | +| MSG\_PROBE\_THREAD | 0X0108 | any number | irregular | thread API log, see 3.6 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| MSG\_PROBE\_SCENE | 0X0107 | any number | irregular | scene resource log, see Probe log subsection 3 | +| MSG\_PROBE\_SYNC | 0X0110 | any number | irregular | sync API log, see 3.7 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| MSG\_PROBE\_THREAD | 0X0108 | any number | irregular | thread resource log, see Probe log subsection 3 | +| MSG\_PROBE\_NETWORK | 0x0111 | any number | irregular | network API log, see 3.8 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ -| 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\_PROBE\_GL | 0x0112 | any number | irregular | openGL API log, see 3.9 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ | MSG\_LSAN | 0x0022 | any number | irregular | LSAN log, see 2.22 | +-----------------------------+--------+---------------------------+-------------------+---------------------------------------------------------------------------------+ @@ -987,7 +981,7 @@ Data channel | 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) +2.18 MSG\_PROBE (see 'Probe log' worksheet for each probe message) `````````````````````````````````````````````````````````````````` +---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+ @@ -1002,20 +996,19 @@ Data channel | 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 | 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 | +| call type | uint32 | 0, 1 | | 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 | +| original func addr | uint64 | pointer | original function address | +---------------------+------------+------------+--------------------------------------------------------------------------------------------------------------------------+ 2.19 MSG\_WEB\_SAMPLING @@ -1280,490 +1273,424 @@ Data channel 3. Probe log ------------ -DA probe log format -``````````````````` +Basic probe message format is presented in 2.18. -MSG\_PROBE 0x3xxx -''''''''''''''''' +3.1. MSG\_PROBE\_MEMORY +``````````````````````` -Common columns -`````````````` ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| size | uint64 | size | affected memory size | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| type | uint32 | number | memory API types: | +| | | | | +| | | | | 0 - MEMORY\_API\_ALLOC, | +| | | | | 1 - MEMORY\_API\_FREE, | +| | | | | 2 - MEMORY\_API\_MANAGE | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| address | uint64 | pointer | memory address | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ -+------------+--------+--------+--------+----------------------------------------------------+---------+---------+--------------+---------------------+----------+----------+ -| index | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -+------------+--------+--------+--------+----------------------------------------------------+---------+---------+--------------+---------------------+----------+----------+ -| type | int(4) | int(4) | int(4) | variable | long(8) | long(8) | int(4) | long(8) | int(4) | int(4) | -+------------+--------+--------+--------+----------------------------------------------------+---------+---------+--------------+---------------------+----------+----------+ -| ColumnName | API ID | PID | TID | args count and args object same in MSG\_SWAP\_INST | Return | errno | InternalCall | Caller\_PC\_address | reserved | reserved | -+------------+--------+--------+--------+----------------------------------------------------+---------+---------+--------------+---------------------+----------+----------+ - -+--------------------+ -| InternalCall | -+====================+ -| 1=internal, 2=user | -+--------------------+ - -Exception of internal call filtering -```````````````````````````````````` +3.2. MSG\_PROBE\_UIEVENT 0X3003 +``````````````````````````````` -+----------+------------------------------------------------------------------------------------------------------------+ -| FILE | open, openat, creat, dup, dup2, close, fopen, freopen, fdopen, tmpfile, fclose | -+----------+------------------------------------------------------------------------------------------------------------+ -| THREAD | \_ThreadImpl::ThreadProc | -+----------+------------------------------------------------------------------------------------------------------------+ -| UI EVENT | Container::AddControl, Container::RemoveControl, Container::RemoveAllControls | -+----------+------------------------------------------------------------------------------------------------------------+ -| EFL | \_dalc\_app\_create, \_dalc\_app\_terminate, \_dalc\_app\_pause, \_dalc\_app\_resume, \_dalc\_app\_service | -+----------+------------------------------------------------------------------------------------------------------------+ - -MSG\_PROBE\_MEMORY 0X3001 ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| event type | uint32 | number | see 3.2.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| detail type | uint32 | number | see 3.2.2 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| x | uint32 | number | x axis position on screen | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| y | uint32 | number | y axis position on screen | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| info1 | string | variable | additional info, depends on event type and detail type | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| info2 | uint32 | number | additional info, depends on event type and detail type | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.2.1. UI event types +''''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| \_EVENT\_UNKNOWN | -1 | ++--------------------------------------------------+-----------+ +| \_EVENT\_KEY | 1 | ++--------------------------------------------------+-----------+ +| \_EVENT\_TOUCH | 2 | ++--------------------------------------------------+-----------+ +| \_EVENT\_ORIENTATION | 4 | ++--------------------------------------------------+-----------+ +| \_EVENT\_LISTENER | 5 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_TAPS | 6 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_DOUBLE\_TAPS | 7 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_TRIPLE\_TAPS | 8 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_LONG\_TAPS | 9 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_FLICKS | 10 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_N\_LINES | 11 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_ZOOM | 12 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_ROTATE | 13 | ++--------------------------------------------------+-----------+ +| \_EVENT\_GESTURE\_MOMENTUM | 14 | ++--------------------------------------------------+-----------+ + +3.2.2. UI detail types +'''''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| \_KEY\_PRESSED | 0 | ++--------------------------------------------------+-----------+ +| \_KEY\_RELEASED | 1 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_PRESSED | 0 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_LONG\_PRESSED | 1 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_RELEASED | 2 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_MOVED | 3 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_DOUBLE\_PRESSED | 4 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_FOCUS\_IN | 5 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_FOCUS\_OUT | 6 | ++--------------------------------------------------+-----------+ +| \_TOUCH\_CANCELED | 7 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_FLICK | 0 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_LONGPRESS | 1 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_PANNING | 2 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_PINCH | 3 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_ROTATION | 4 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_TAP | 5 | ++--------------------------------------------------+-----------+ +| \_GESTURE\_CUSTOM | 6 | ++--------------------------------------------------+-----------+ +| \_OS\_NONE | 0 | ++--------------------------------------------------+-----------+ +| \_OS\_PORTRAIT | 1 | ++--------------------------------------------------+-----------+ +| \_OS\_LANDSCAPE | 2 | ++--------------------------------------------------+-----------+ +| \_OS\_PORTRAIT\_REVERSE | 3 | ++--------------------------------------------------+-----------+ +| \_OS\_LANDSCAPE\_REVERSE | 4 | ++--------------------------------------------------+-----------+ + +3.3. MSG\_PROBE\_RESOURCE ````````````````````````` -+------------+---------+-------------+---------------+---------+ -| index | 1~11 | 12 | 13 | 14 | -+------------+---------+-------------+---------------+---------+ -| type | Common | long(8) | int(4) | long(8) | -+------------+ Columns +-------------+---------------+---------+ -| ColumnName | | Size | MemoryAPIType | Address | -+------------+---------+-------------+---------------+---------+ - - -+-------------------------+ -| MemoryAPIType | -+=========================+ -| 0 : MEMORY\_API\_ALLOC | -+-------------------------+ -| 1 : MEMORY\_API\_FREE | -+-------------------------+ -| 2 : MEMORY\_API\_MANAGE | -+-------------------------+ - -MSG\_PROBE\_UICONTROL 0X3002 -```````````````````````````` - -+------------+---------+---------------------+-------------------+----------------+--------------+------------+---------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | 17 | -+------------+---------+---------------------+-------------------+----------------+--------------+------------+---------+ -| type | Common | string | string | long(8) | string | string | long(8) | -| | Columns | | | | | | | -+------------+ +---------------------+-------------------+----------------+--------------+------------+---------+ -| ColumnName | | Parent Control name | Parent class name | Parent pointer | Control name | Class name | Pointer | -+------------+---------+---------------------+-------------------+----------------+--------------+------------+---------+ - -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| API Name | Parent Control name | Parent class name | Parent pointer | Control Type | Class name | Pointer | -+====================================================================+=====================+============================+=========================+==============+====================+=================+ -| result UiApp::AddFrame(const Tizen::Ui::Controls::Frame& frame) | \- | \- | \- | frame name | frame class name | frame pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result UiApp::RemoveFrame(const Tizen::Ui::Controls::Frame &frame) | \- | \- | \- | frame name | frame class name | frame pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| void Control::SetName(const Tizen::Base::String &name) | name | current control class name | current control pointer | \- | \- | \- | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result Container::AddControl(const Control &control) | container name | container class name | container pointer | control name | control class name | control pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result Container::AddControl(Control\* control) | container name | container class name | container pointer | control name | control class name | control pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result Container::RemoveControl(const Control &control) | container name | container class name | container pointer | control name | control class name | control pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result Container::RemoveControl(Control\* control) | container name | container class name | container pointer | control name | control class name | control pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| result Container::RemoveControl(int index) | container name | container class name | container pointer | control name | control class name | control pointer | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ -| void Container::RemoveAllControls(void) | container name | container class name | container pointer | \- | \- | \- | -+--------------------------------------------------------------------+---------------------+----------------------------+-------------------------+--------------+--------------------+-----------------+ - -MSG\_PROBE\_UIEVENT 0X3003 ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| size | uint64 | size | affected size | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| fd | uint64 | number | file descriptor | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| fd api type | uint32 | number | see 3.3.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| file size | uint64 | size | file size | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| file path | string | path | file path on target | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.3.1. File API types +''''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| FD\_API\_OPEN | 0 | ++--------------------------------------------------+-----------+ +| FD\_API\_CLOSE | 1 | ++--------------------------------------------------+-----------+ +| FD\_API\_READ\_START | 2 | ++--------------------------------------------------+-----------+ +| FD\_API\_READ\_END | 3 | ++--------------------------------------------------+-----------+ +| FD\_API\_WRITE\_START | 4 | ++--------------------------------------------------+-----------+ +| FD\_API\_WRITE\_END | 5 | ++--------------------------------------------------+-----------+ +| FD\_API\_DIRECTORY | 6 | ++--------------------------------------------------+-----------+ +| FD\_API\_PERMISSION | 7 | ++--------------------------------------------------+-----------+ +| FD\_API\_OTHER | 8 | ++--------------------------------------------------+-----------+ +| FD\_API\_SEND | 9 | ++--------------------------------------------------+-----------+ +| FD\_API\_RECEIVE | 10 | ++--------------------------------------------------+-----------+ +| FD\_API\_OPTION | 11 | ++--------------------------------------------------+-----------+ +| FD\_API\_MANAGE | 12 | ++--------------------------------------------------+-----------+ +| FD\_API\_LOCK\_START | 14 | ++--------------------------------------------------+-----------+ +| FD\_API\_LOCK\_END | 15 | ++--------------------------------------------------+-----------+ +| FD\_API\_LOCK\_RELEASE | 16 | ++--------------------------------------------------+-----------+ + +3.4. MSG\_PROBE\_LIFECYCLE `````````````````````````` -+------------+---------+------------+-------------+--------+--------+--------+--------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | 17 | -+------------+---------+------------+-------------+--------+--------+--------+--------+ -| type | Common | int(4) | int(4) | int(4) | int(4) | string | int(4) | -| | Columns | | | | | | | -| | | | | | | | | -+------------+ +------------+-------------+--------+--------+--------+--------+ -| ColumnName | | Event type | Detail type | x | y | info1 | info2 | -+------------+---------+------------+-------------+--------+--------+--------+--------+ - -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| API Name | Event type | Detail type | x | y | info1 | info2 | -+========================================================+===================================+=======================+=====================+=====================+====================================+============================+ -| Eina\_Bool ecore\_event\_evas\_key\_down | \_EVENT\_KEY | \_KEY\_PRESSED | | | keyname(string) | | -| (void \*data, int type, void \*event) | | | | | | | -| | | | | | | | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| Eina\_Bool ecore\_event\_evas\_key\_up | \_EVENT\_KEY | \_KEY\_RELEASED | | | keyname(string) | | -| (void \*data,int type, void \*event) | | | | | | | -| | | | | | | | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| Eina\_Bool ecore\_event\_evas\_mouse\_button\_down | \_EVENT\_TOUCH | \_TOUCH\_PRESSED | x | y | | touch count | -| (void \*data, int type, void \*event) | | | | | | | -| | | | | | | | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| Eina\_Bool ecore\_event\_evas\_mouse\_button\_up | \_EVENT\_TOUCH | \_TOUCH\_RELEASED | x | y | | touch count | -| (void \*data, int type, void \*event) | | | | | | | -| | | | | | | | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| Eina\_Bool ecore\_event\_evas\_mouse\_move | \_EVENT\_TOUCH | \_TOUCH\_MOVED | x | y | | touch count | -| (void \*data, int type, void \*event) | | | | | | | -| | | | | | | | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| Evas\_Event\_Flags eventcallback | \_EVENT\_GESTURE\_N\_TAPS | \_ELM\_GESTURE\_STATE | Center\_x | Center\_y | | number of fingers tapped | -| (void \*data, void \*event\_info) | | | | | | | -| | | | | | | | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_N\_DOUBLE\_TAPS | \_ELM\_GESTURE\_STATE | Center\_x | Center\_y | | number of fingers tapped | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_N\_TRIPLE\_TAPS | \_ELM\_GESTURE\_STATE | Center\_x | Center\_y | | number of fingers tapped | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_N\_LONG\_TAPS | \_ELM\_GESTURE\_STATE | Center\_x | Center\_y | | number of fingers tapped | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_MOMENTUM | \_ELM\_GESTURE\_STATE | starting point on X | starting point on Y | x2,y2,mx,my(string) | number of fingers tapped | -| | | | | | x2,y2 : ending point on X, Y | | -| | | | | | mx,my : Momentum on X, Y | | -| | | | | | | | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_N\_FLICKS | \_ELM\_GESTURE\_STATE | starting point on X | starting point on Y | x2,y2,mx,my(string) | Angle (direction) of lines | -| | | | | | x2,y2 : ending point on X, Y | | -| | | | | | mx,my : Momentum on X, Y | | -| | | | | | | | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_N\_LINES | \_ELM\_GESTURE\_STATE | starting point on X | starting point on X | x2,y2,mx,my(string) | Angle (direction) of lines | -| | | | | | x2,y2 : endingpoint on X, Y | | -| | | | | | mx,my : Momentum on X, Y | | -| | | | | | | | -| | | | | | | | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_ZOOM | \_ELM\_GESTURE\_STATE | zoom center point X | zoom center point Y | zoom,momentum(string) | radius | -| +-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ -| | \_EVENT\_GESTURE\_ROTATE | \_ELM\_GESTURE\_STATE | zoom center point X | zoom center point Y | base\_angle,angle,momentum(string) | radius | -+--------------------------------------------------------+-----------------------------------+-----------------------+---------------------+---------------------+------------------------------------+----------------------------+ - -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| value | Event Type | Key Status | Touch Status | Orientation Status | Flick\_Direction | -+=======+===================================+=================+========================+=========================================+=========================+ -| -1 | | | | | FLICK\_DIRECTION\_NONE | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 0 | | \_KEY\_PRESSED | TOUCH\_PRESSED | ORIENTATION\_STATUS\_NONE | FLICK\_DIRECTION\_RIGHT | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 1 | \_EVENT\_KEY | \_KEY\_RELEASED | TOUCH\_LONG\_PRESSED | ORIENTATION\_STATUS\_PORTRAIT | FLICK\_DIRECTION\_UP | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 2 | \_EVENT\_TOUCH | | TOUCH\_RELEASED | ORIENTATION\_STATUS\_LANDSCAPE | FLICK\_DIRECTION\_LEFT | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 3 | \_EVENT\_ORIENTATION | | TOUCH\_MOVED | ORIENTATION\_STATUS\_PORTRAIT\_REVERSE | FLICK\_DIRECTION\_DOWN | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 4 | \_EVENT\_LISTENER | | TOUCH\_DOUBLE\_PRESSED | ORIENTATION\_STATUS\_LANDSCAPE\_REVERSE | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 5 | \_EVENT\_GESTURE\_N\_TAPS | | TOUCH\_FOCUS\_IN | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 6 | \_EVENT\_GESTURE\_N\_DOUBLE\_TAPS | | TOUCH\_FOCUS\_OUT | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 7 | \_EVENT\_GESTURE\_N\_TRIPLE\_TAPS | | TOUCH\_CANCELED | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 8 | \_EVENT\_GESTURE\_N\_LONG\_TAPS | | | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 9 | \_EVENT\_GESTURE\_N\_FLICKS | | | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 10 | \_EVENT\_GESTURE\_N\_LINES | | | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 11 | \_EVENT\_GESTURE\_ZOOM | | | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ -| 12 | \_EVENT\_GESTURE\_ROTATE | | | | | -+-------+-----------------------------------+-----------------+------------------------+-----------------------------------------+-------------------------+ - -MSG\_PROBE\_FILE 0X3004 +Nothing. + +3.5. MSG\_PROBE\_SCREENSHOT +``````````````````````````` + ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| path | string | path | screenshot path on target | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| angle | uint32 | number | screenshot orientation, rotation angle: 0, 90, 180, 270 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.6. MSG\_PROBE\_THREAD ``````````````````````` -+------------+---------+---------+---------+-----------+----------+----------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | -+------------+---------+---------+---------+-----------+----------+----------+ -| type | Common | long(8) | long(8) | int(4) | long(8) | string | -| | Columns | | | | | | -+------------+ +---------+---------+-----------+----------+----------+ -| ColumnName | | Size | FDValue | FDApiType | FileSize | FilePath | -+------------+---------+---------+---------+-----------+----------+----------+ - - -+---------------------------------------------------------------------+-----------------------------+ -| FDApiType | FilePath | -+=====================================================================+=============================+ -| 0 : open | FilePath | -+---------------------------------------------------------------------+-----------------------------+ -| 1 : close | | -+---------------------------------------------------------------------+-----------------------------+ -| 2 : read\_start | | -+---------------------------------------------------------------------+-----------------------------+ -| 3 : read\_end | | -+---------------------------------------------------------------------+-----------------------------+ -| 4 : write\_start | | -+---------------------------------------------------------------------+-----------------------------+ -| 5 : write\_end | | -+---------------------------------------------------------------------+-----------------------------+ -| 6 : directory | FilePath | -+---------------------------------------------------------------------+-----------------------------+ -| 7 : permission | | -+---------------------------------------------------------------------+-----------------------------+ -| 8 : other | | -+---------------------------------------------------------------------+-----------------------------+ -| 14: file\_lock\_start (fcntl(int fd, int cmd, struct flock\* lock)) | contents of (flock \* lock) | -+---------------------------------------------------------------------+-----------------------------+ -| 15: file\_lock\_end | | -+---------------------------------------------------------------------+-----------------------------+ -| 16: file\_unlock | | -+---------------------------------------------------------------------+-----------------------------+ - -\* The File which has been used by the target process, the other -processes’ access to the file need to be traced. - -MSG\_PROBE\_LIFECYCLE 0X3005 -```````````````````````````` - -+------------+---------+ -| index | 1~11 | -+------------+---------+ -| type | Common | -| | Columns | -+------------+ | -| ColumnName | | -+------------+---------+ - -MSG\_PROBE\_SCREENSHOT 0X3006 -````````````````````````````` - -+------------+---------+---------------+-------------+ -| index | 1~11 | 12 | 13 | -+------------+---------+---------------+-------------+ -| type | Common | string | int(4) | -| | Columns | | | -+------------+ +---------------+-------------+ -| ColumnName | | ImageFilePath | Orientation | -+------------+---------+---------------+-------------+ - - -+----------------------------+--------------+ -| ImageFilePath | Orientation | -+============================+==============+ -| ex) /tmp/da/2710\_3241.png | 0/90/180/270 | -+----------------------------+--------------+ - -MSG\_PROBE\_SCENE 0X3007 -```````````````````````` -+------------+---------+------------+-----------+--------------+------------+---------------+-----------------+----------------------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -+------------+---------+------------+-----------+--------------+------------+---------------+-----------------+----------------------+ -| type | Common | string | string | long(8) | string | long(8) | long(8) | long(8) | -| | Columns | | | | | | | | -+------------+ +------------+-----------+--------------+------------+---------------+-----------------+----------------------+ -| ColumnName | | Scene name | Form name | Form pointer | Panel name | Panel pointer | Transition time | user transition time | -+------------+---------+------------+-----------+--------------+------------+---------------+-----------------+----------------------+ ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| pthread id | uint64 | number | if pthread then thread id, else 0 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| tizen thread id | uint64 | number | if tizen thread then thread id, else 0 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| thread type | uint32 | number | see 3.6.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| api type | uint32 | number | see 3.6.2 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| class name | string | path | thread api class name | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.6.1. Thread types +''''''''''''''''''' -MSG\_PROBE\_THREAD 0X3008 -````````````````````````` ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| THREAD\_PTHREAD | 0 | ++--------------------------------------------------+-----------+ +| THREAD\_TIZENTHREAD_WORKER | 1 | ++--------------------------------------------------+-----------+ +| THREAD\_TIZENTHREAD_EVENTDRIVEN | 2 | ++--------------------------------------------------+-----------+ -+------------+---------+-----------+-------------+------------+---------+------------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | -+------------+---------+-----------+-------------+------------+---------+------------+ -| type | Common | long(8) | long(8) | int(4) | int(4) | string | -| | Columns | | | | | | -+------------+ +-----------+-------------+------------+---------+------------+ -| ColumnName | | PThreadID | OspThreadID | ThreadType | ApiType | ThreadName | -+------------+---------+-----------+-------------+------------+---------+------------+ - -+------------------------------------+ -| ThreadType | -+====================================+ -| 0 : THREAD\_PTHREAD | -+------------------------------------+ -| 1 : THREAD\_OSPTHREAD\_WORKER | -+------------------------------------+ -| 2 : THREAD\_OSPTHREAD\_EVENTDRIVEN | -+------------------------------------+ - -+----------------------------------+ -| ApiType | -+==================================+ -| 0 : THREAD\_API\_NEW | -+----------------------------------+ -| 1 : THREAD\_API\_START | -+----------------------------------+ -| 2 : THREAD\_API\_STOP | -+----------------------------------+ -| 3 : THREAD\_API\_EXIT | -+----------------------------------+ -| 4 : THREAD\_API\_WAIT\_START | -+----------------------------------+ -| 5 : THREAD\_API\_WAIT\_END | -+----------------------------------+ -| 6 : THREAD\_API\_INTERNAL\_START | -+----------------------------------+ -| 7 : THREAD\_API\_INTERNAL\_STOP | -+----------------------------------+ -| 8 : THREAD\_API\_OTHER | -+----------------------------------+ - -MSG\_PROBE\_CUSTOM 0X3009 -````````````````````````` -+------------+---------+---------+--------+--------+--------+-----------+ -| index | 1~11 |, 12 | 13 | 14 | 15 | 16 | -+------------+---------+---------+--------+--------+--------+-----------+ -| type | Common | int(4) | int(4) | string | int(4) | double(8) | -| | Columns | | | | | | -+------------+ +---------+--------+--------+--------+-----------+ -| ColumnName | | handle | type | name | color | value | -+------------+---------+---------+--------+--------+--------+-----------+ - -+-------------------------+ -| type | -+=========================+ -| 0 : USERFUNCTION\_ENTER | -+-------------------------+ -| 1 : USERFUNCTION\_EXIT | -+-------------------------+ - -MSG\_PROBE\_SYNC 0X3010 -``````````````````````` +3.6.2. Thread API types +''''''''''''''''''''''' -+------------+---------+---------+----------+---------+ -| index | 1~11 | 12 | 13 | 14 | -+------------+---------+---------+----------+---------+ -| type | Common | long(8) | int(4) | int(4) | -| | Columns | | | | -+------------+ +---------+----------+---------+ -| ColumnName | | SyncVal | SyncType | ApiType | -+------------+---------+---------+----------+---------+ - -+-----------------------------------+ -| SyncType | -+===================================+ -| 0 : SYNC\_OSP\_MUTEX | -+-----------------------------------+ -| 1 : SYNC\_OSP\_MONITOR | -+-----------------------------------+ -| 2 : SYNC\_OSP\_SEMAPHORE | -+-----------------------------------+ -| 3 : SYNC\_PTHREAD\_MUTEX | -+-----------------------------------+ -| 4 : SYNC\_PTHREAD\_COND\_VARIABLE | -+-----------------------------------+ -| 5 : SYNC\_PTHREAD\_RWLOCK | -+-----------------------------------+ -| 6 : SYNC\_PTHREAD\_SPINLOCK | -+-----------------------------------+ -| 7 : SYNC\_PTHREAD\_BARRIER | -+-----------------------------------+ - -+-------------------------------------+ -| ApiType | -+=====================================+ -| 0 : SYNC\_API\_NEW | -+-------------------------------------+ -| 1 : SYNC\_API\_ACQUIRE\_WAIT\_START | -+-------------------------------------+ -| 2 : SYNC\_API\_ACQUIRE\_WAIT\_END | -+-------------------------------------+ -| 3 : SYNC\_API\_RELEASE | -+-------------------------------------+ -| 4 : SYNC\_API\_TRY\_ACQUIRE | -+-------------------------------------+ -| 5 : SYNC\_API\_COND\_WAIT\_START | -+-------------------------------------+ -| 6 : SYNC\_API\_COND\_WAIT\_END | -+-------------------------------------+ -| 7 : SYNC\_API\_NOTIFY | -+-------------------------------------+ -| 8 : SYNC\_API\_NOTIFY\_ALL | -+-------------------------------------+ -| 9 : SYNC\_API\_OTHER | -+-------------------------------------+ - -MSG\_PROBE\_NETWORK 0X3011 -`````````````````````````` ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| THREAD\_API\_NEW | 0 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_START | 1 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_STOP | 2 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_EXIT | 3 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_WAIT\_START | 4 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_WAIT\_END | 5 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_INTERNAL\_START | 6 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_INTERNAL\_STOP | 7 | ++--------------------------------------------------+-----------+ +| THREAD\_API\_OTHER | 8 | ++--------------------------------------------------+-----------+ + +3.7. MSG\_PROBE\_SYNC +````````````````````` -+------------+---------+----------------+---------+-----------+------------------------+-------------------------+--------------+---------+ -| index | 1~11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -+------------+---------+----------------+---------+-----------+------------------------+-------------------------+--------------+---------+ -| type | Common | long(8) | long(8) | int(4) | int(4) | int(4) | long(8) | string | -| | Columns | | | | | | | | -+------------+ +----------------+---------+-----------+------------------------+-------------------------+--------------+---------+ -| ColumnName | | Object Address | FDValue | FDApiType | Destination IP Address | Destination Port number | message size | message | -+------------+---------+----------------+---------+-----------+------------------------+-------------------------+--------------+---------+ - -+------------------------------------+ -| FDApiType | -+====================================+ -| 0 : SOCKET\_API\_FD\_OPEN | -+------------------------------------+ -| 1 : SOCKET\_API\_FD\_CLOSE | -+------------------------------------+ -| 2 : SOCKET\_API\_RECV\_START | -+------------------------------------+ -| 3 : SOCKET\_API\_RECV\_END | -+------------------------------------+ -| 4 : SOCKET\_API\_SEND\_START | -+------------------------------------+ -| 5 : SOCKET\_API\_SEND\_END | -+------------------------------------+ -| 6 : SOCKET\_API\_BIND | -+------------------------------------+ -| 7 : SOCKET\_API\_LISTEN | -+------------------------------------+ -| 8 : SOCKET\_API\_CONNECT | -+------------------------------------+ -| 9 : SOCKET\_API\_ACCEPT\_START | -+------------------------------------+ -| 10 : SOCKET\_API\_ACCEPT\_END | -+------------------------------------+ -| 11 : SOCKET\_API\_EVENT\_START | -+------------------------------------+ -| 12 : SOCKET\_API\_EVENT\_END | -+------------------------------------+ -| 13 : SOCKET\_API\_OTHER | -+------------------------------------+ -| 14 : HTTP\_API\_SESSION\_CONSTRUCT | -+------------------------------------+ -| 15 : HTTP\_API\_SESSION\_CLOSE | -+------------------------------------+ -| 16 : HTTP\_API\_TRANSACTION\_OPEN | -+------------------------------------+ -| 17 : HTTP\_API\_TRANSACTION\_CLOSE | -+------------------------------------+ -| 18 : HTTP\_API\_ALLOCATION | -+------------------------------------+ -| 19 : HTTP\_API\_SUBMIT | -+------------------------------------+ -| 20 : HTTP\_API\_REQUEST | -+------------------------------------+ -| 21 : HTTP\_API\_RESPONSE | -+------------------------------------+ -| 22 : HTTP\_API\_OTHER | -+------------------------------------+ -| 23 : HTTP\_API\_CLOSE | -+------------------------------------+ - -MSG\_PROBE\_GLES\_20 0X3012 -``````````````````````````` ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| addr | uint64 | pointer | sync address | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| type | uint32 | number | see 3.7.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| api type | uint32 | number | see 3.7.2 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.7.1. Sync types +''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| SYNC\_TIZEN\_MUTEX | 0 | ++--------------------------------------------------+-----------+ +| SYNC\_TIZEN\_MONITOR | 1 | ++--------------------------------------------------+-----------+ +| SYNC\_TIZEN\_SEMAPHORE | 2 | ++--------------------------------------------------+-----------+ +| SYNC\_PTHREAD\_MUTEX | 3 | ++--------------------------------------------------+-----------+ +| SYNC\_PTHREAD\_COND\_VARIABLE | 4 | ++--------------------------------------------------+-----------+ +| SYNC\_PTHREAD\_RWLOCK | 5 | ++--------------------------------------------------+-----------+ +| SYNC\_PTHREAD\_SPINLOCK | 6 | ++--------------------------------------------------+-----------+ +| SYNC\_PTHREAD\_BARRIER | 7 | ++--------------------------------------------------+-----------+ + +3.7.2. Sync API types +''''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| SYNC\_API\_NEW | 0 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_ACQUIRE\_WAIT\_START | 1 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_ACQUIRE\_WAIT\_END | 2 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_RELEASE | 3 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_TRY\_ACQUIRE | 4 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_COND\_WAIT\_START | 5 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_COND\_WAIT\_END | 6 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_NOTIFY | 7 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_NOTIFY\_ALL | 8 | ++--------------------------------------------------+-----------+ +| SYNC\_API\_OTHER | 9 | ++--------------------------------------------------+-----------+ + +3.8. MSG\_PROBE\_NETWORK +```````````````````````` + ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| addr | uint64 | pointer | object address | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| fd | uint64 | number | fd value | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| api type | uint32 | number | see 3.8.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| dest ip | uint32 | number | destination IP address | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| dest port | uint32 | number | destination port number | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| message size | uint64 | number | size of message text | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| message | string | variable | message text | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ + +3.8.1. Network API types +'''''''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| SOCKET\_API\_FD\_OPEN | 0 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_FD\_CLOSE | 1 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_RECV\_START | 2 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_RECV\_END | 3 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_SEND\_START | 4 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_SEND\_END | 5 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_BIND | 6 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_LISTEN | 7 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_CONNECT | 8 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_ACCEPT\_START | 9 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_ACCEPT\_END | 10 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_EVENT\_START | 11 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_EVENT\_END | 12 | ++--------------------------------------------------+-----------+ +| SOCKET\_API\_OTHER | 13 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_SESSION\_CONSTRUCT | 14 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_SESSION\_CLOSE | 15 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_TRANSACTION\_OPEN | 16 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_TRANSACTION\_CLOSE | 17 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_ALLOCATION | 18 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_SUBMIT | 19 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_REQUEST | 20 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_RESPONSE | 21 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_OTHER | 22 | ++--------------------------------------------------+-----------+ +| HTTP\_API\_CLOSE | 23 | ++--------------------------------------------------+-----------+ + +3.9. MSG\_PROBE\_GL +``````````````````` + ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| name | type | value | description | ++==================+========+==========+==============================================================================================================+ +| addr | uint64 | pointer | should be GL current context address but now it is always 0 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| api type | uint32 | number | see 3.9.1 | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| time | uint64 | number | elapsed time in nanoseconds | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ +| context | string | variable | GL context value | ++------------------+--------+----------+--------------------------------------------------------------------------------------------------------------+ -+------------+---------+-------------------+-----------+---------------+-----------------+ -| index | 1~11 | 12 | 13 | 14 | 15 | -+------------+---------+-------------------+-----------+---------------+-----------------+ -| type | Common | long(8) | int(4) | long(8) | string | -| | Columns | | | | | -+------------+---------+-------------------+-----------+---------------+-----------------+ -| ColumnName | | GLCurrentContext | GLApiType | GLElapsedTime | GLContextValue | -+------------+---------+-------------------+-----------+---------------+-----------------+ - -+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ -| GLApiType | GLContextValue | -+=====================+==============================================================================================================================================+ -| 01: GL\_INIT | | -+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ -| 02: GL\_CONTEXT | | -+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ -| 03: GL\_NO\_CONTEXT | 'd'-int 'f'-float 'x'-int64 'p'-pointer 's'-string etc, we will add new type parametrs 'D'-will mean array of 'd', 'F' - array of 'f'(float) | -+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ -| | type: c (1, char), d(4, int), x(8, long), p(8, pointer), f(4, float), w(8, double), b(1, bool), s(string), v(1, void), n(1,no type) | -+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ +3.9.1. GL API types +''''''''''''''''''' + ++--------------------------------------------------+-----------+ +| name | value | ++==================================================+===========+ +| APITYPE\_INIT | 0 | ++--------------------------------------------------+-----------+ +| APITYPE\_CONTEXT | 1 | ++--------------------------------------------------+-----------+ +| APITYPE\_NO\_CONTEXT | 2 | ++--------------------------------------------------+-----------+ 4. Instrumentation blacklist ----------------------------