+ int32_t sched_pri; // scheduled (current) priority
+ int32_t sched_flags; // scheduler flags
+ char ss_flags;
+} __attribute__ ((packed));
+
+struct task_snapshot {
+ uint32_t snapshot_magic;
+ int32_t pid;
+ uint32_t nloadinfos;
+ uint64_t user_time_in_terminated_threads;
+ uint64_t system_time_in_terminated_threads;
+ int suspend_count;
+ int task_size; // pages
+ int faults; // number of page faults
+ int pageins; // number of actual pageins
+ int cow_faults; // number of copy-on-write faults