add protocol for monitoring tbm_bo 50/54150/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 4 Dec 2015 12:31:08 +0000 (21:31 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 7 Dec 2015 07:47:58 +0000 (16:47 +0900)
Change-Id: I35296cbba9ea85a8f9eeb88f6f74f42528cc9f38

protocol/wayland-tbm.xml

index ff8b0e8..e6961cc 100644 (file)
     <request name="get_authentication_info">
     </request>
 
+    <!-- monitor the tbm_bo of the clients and the server -->
+    <request name="request_tbm_monitor">
+      <arg name="command" type="int"/>
+      <arg name="trace_command" type="int"/>
+      <arg name="target" type="int"/>
+      <arg name="pid" type="int"/>
+    </request>
+
     <event name="authentication_info">
        <arg name="device_name" type="string"/>
        <arg name="capabilities" type="uint"/>
        <arg name="auth_fd" type="fd"/>
     </event>
+
+    <!-- monitor the tbm_bo of the client -->
+    <event name="monitor_client_tbm_bo">
+      <arg name="command" type="int"/>
+      <arg name="trace_command" type="int"/>
+      <arg name="target" type="int"/>
+      <arg name="pid" type="int"/>
+    </event>
     
   </interface>