A. Profile Table

Currently, profile table has 1024 entries, which are grouped as following:

Table A.1. 

Range I 0-299 :System calls
Range II 300-399 :Pre-define ID
Range III 400-1023 :Dynamic ID

In range I, each entry contains profiling data regarding the amount of time the process spends inside each system call, and indexed by system call number.

Range II maintains profile data for a pre-define set of IDs:

Table A.2. 

300 KTAU_EVENT_SCHED
301 KTAU_EVENT_SOFTIRQ
302 KTAU_EVENT_TASKLET
303 KTAU_EVENT_HI_TASKLET
304 KTAU_EVENT_WORKQUEUE
305 KTAU_EVENT_TIMER_SOFTIR
306 KTAU_EVENT_TCP_SLOWPATH

Range III maintains profile data for dynamically assigned IDs.