atrace: preempt and irq disable section tracing

IRQ and preempt disabled sections can be visualized in systrace, add the
trace categories to enable these events.

Currently only root users who have permissions to write to these file
will be allowed to run this. At a future time, we can add other users
once we decide on security aspects.

Bug: 67425309

Change-Id: I389c3ab5624a775d310d90b7cb4edf47407aa614
Merged-In: I389c3ab5624a775d310d90b7cb4edf47407aa614
Signed-off-by: Joel Fernandes <joelaf@google.com>
1 file changed