kernel/eka/include/e32btrace.h
changeset 4 56f325a607ea
parent 0 a41df078684a
child 43 c1f20ce4abcf
equal deleted inserted replaced
2:4122176ea935 4:56f325a607ea
   385         @prototype 9.3
   385         @prototype 9.3
   386         */
   386         */
   387         EKernPerfLog = 5,
   387         EKernPerfLog = 5,
   388 
   388 
   389         /**
   389         /**
   390 		@internalTechnology
   390 		Trace generated when client-server activity takes place such as server creation,
   391         @prototype 9.3
   391 		session management, message handling, etc.
       
   392 
       
   393 		If #Prime is called with this category, traces will be generated for all
       
   394 		servers currently running and their sessions.
   392         */
   395         */
   393         EClientServer = 6,
   396         EClientServer = 6,
   394 
   397 
   395         /**
   398         /**
   396 		@internalTechnology
   399 		Trace generated on thread request completion.
   397         @prototype 9.3
       
   398         */
   400         */
   399         ERequests = 7,
   401         ERequests = 7,
   400 
   402 
   401         /**
   403         /**
   402 		Trace generated when chunks are created and destroyed, and when memory
   404 		Trace generated when chunks are created and destroyed, and when memory
   771     @prototype 9.3
   773     @prototype 9.3
   772     */
   774     */
   773 	enum TClientServer
   775 	enum TClientServer
   774 		{
   776 		{
   775 		/**
   777 		/**
   776 		Trace generated whenever a server is created.
   778 		Trace generated whenever a server is created and during prime.
   777 
   779 
   778 		Trace data format:
   780 		Trace data format:
   779 		- 4 bytes containing the server id (a DServer*).
   781 		- 4 bytes containing the server id (a DServer*).
   780 		- 4 bytes containing undefined data
   782 		- 4 bytes containing the owning thread pointer (a DThread*).
   781 		- Remaining data is the ASCII name of the server.
   783 		- Remaining data is the ASCII name of the server.
   782 
   784 
   783 		The context id (NThread*) in this trace is that of the thread creating the server.
       
   784 		*/
   785 		*/
   785 		EServerCreate,
   786 		EServerCreate,
   786 
   787 
   787 		/**
   788 		/**
   788 		Trace generated whenever a server is destroyed.
   789 		Trace generated whenever a server is destroyed.
   792 
   793 
   793 		*/
   794 		*/
   794 		EServerDestroy,
   795 		EServerDestroy,
   795 
   796 
   796 		/**
   797 		/**
   797 		Trace generated whenever a new session is attached to a server.
   798 		Trace generated whenever a new session is attached to a server and during prime.
   798 		I.e. a new session has been created.
   799 		I.e. a new session has been created.
   799 
   800 
   800 		Trace data format:
   801 		Trace data format:
   801 		- 4 bytes containing the session id (a DSession*).
   802 		- 4 bytes containing the session id (a DSession*).
   802 		- 4 bytes containing the server id (a DServer*).
   803 		- 4 bytes containing the server id (a DServer*).
   803 
   804 		- 4 bytes containing the owner id (a DObject*).
   804 		The context id (NThread*) in this trace is that of the thread creating the session.
   805 
       
   806 		The context id (NThread*) in this trace is that of the thread creating the session
       
   807 		(apart from during prime when it is NULL).
   805 		*/
   808 		*/
   806 		ESessionAttach,
   809 		ESessionAttach,
   807 
   810 
   808 		/**
   811 		/**
   809 		Trace generated whenever a server session is detached from a server.
   812 		Trace generated whenever a server session is detached from a server.