1pub const CATEGORY_STARNIX: &'static str = "starnix";
7
8pub const CATEGORY_STARNIX_MM: &'static str = "starnix:mm";
10
11pub const CATEGORY_STARNIX_SECURITY: &'static str = "starnix:security";
13
14pub const NAME_RUN_TASK: &'static str = "RunTask";
16
17pub const CATEGORY_ATRACE: &'static str = "starnix:atrace";
19
20pub const CATEGORY_TRACE_META: &'static str = "starnix:trace_meta";
22
23pub const NAME_PERFETTO_BLOB: &'static str = "starnix_perfetto";
25
26pub const NAME_CREATE_CONTAINER: &'static str = "CreateContainer";
28
29pub const NAME_START_KERNEL: &'static str = "StartKernel";
31
32pub const NAME_RESTRICTED_KICK: &'static str = "RestrictedKick";
34
35pub const NAME_HANDLE_EXCEPTION: &'static str = "HandleException";
37
38pub const NAME_READ_RESTRICTED_STATE: &'static str = "ReadRestrictedState";
40pub const NAME_WRITE_RESTRICTED_STATE: &'static str = "WriteRestrictedState";
41pub const NAME_MAP_RESTRICTED_STATE: &'static str = "MapRestrictedState";
42
43pub const NAME_CHECK_TASK_EXIT: &'static str = "CheckTaskExit";
45
46pub const ARG_NAME: &'static str = "name";
47
48#[inline]
49pub fn regular_trace_category_enabled(category: &'static str) -> bool {
50 fuchsia_trace::category_enabled(category)
51}