a84cce38c336c7009f029a05c2f59b192094581f
Stefan Schuermans first incomplete begin_proc...

Stefan Schuermans authored 4 years ago

liblwpttr/lwproctrace.proto  1) syntax = "proto2";
liblwpttr/lwproctrace.proto  2) 
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

uproctrace.proto             3) package uproctrace;
Stefan Schuermans first incomplete begin_proc...

Stefan Schuermans authored 4 years ago

liblwpttr/lwproctrace.proto  4) 
liblwpttr/lwproctrace.proto  5) message timespec {
liblwpttr/lwproctrace.proto  6)   required int64 sec = 1;
liblwpttr/lwproctrace.proto  7)   optional int32 nsec = 2;
liblwpttr/lwproctrace.proto  8) }
liblwpttr/lwproctrace.proto  9) 
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

uproctrace.proto            10) message stringlist {
uproctrace.proto            11)   repeated string s = 1;
uproctrace.proto            12) }
uproctrace.proto            13) 
Stefan Schuermans first incomplete begin_proc...

Stefan Schuermans authored 4 years ago

liblwpttr/lwproctrace.proto 14) message proc_begin {
liblwpttr/lwproctrace.proto 15)   required int32 pid = 1;
Stefan Schuermans add more fields from getrus...

Stefan Schuermans authored 4 years ago

uproctrace.proto            16)   optional int32 ppid = 2; ///< pid of parent process
uproctrace.proto            17)   optional string exe = 3; ///< path to executable
uproctrace.proto            18)   optional string cwd = 4; ///< working directory
uproctrace.proto            19)   optional stringlist cmdline = 5; ///< command line
uproctrace.proto            20)   optional stringlist environ = 6; ///< environment variables
Stefan Schuermans first incomplete begin_proc...

Stefan Schuermans authored 4 years ago

liblwpttr/lwproctrace.proto 21) }
liblwpttr/lwproctrace.proto 22) 
liblwpttr/lwproctrace.proto 23) message proc_end {
liblwpttr/lwproctrace.proto 24)   required int32 pid = 1;
Stefan Schuermans add ppid to end event to im...

Stefan Schuermans authored 3 years ago

uproctrace.proto            25)   optional int32 ppid = 12; ///< pid of parent process (important for fork(),
uproctrace.proto            26)                             ///< because child of fork has no proc_begin event)
Stefan Schuermans add more fields from getrus...

Stefan Schuermans authored 4 years ago

uproctrace.proto            27)   /// fields from clock_gettime
uproctrace.proto            28)   //@{
uproctrace.proto            29)   optional timespec cpu_time = 2; ///< CPU time usage
uproctrace.proto            30)   //@}
uproctrace.proto            31)   /// fields from getrusage
uproctrace.proto            32)   //@{
uproctrace.proto            33)   optional timespec user_time = 3; ///< CPU time spent in user space
uproctrace.proto            34)   optional timespec sys_time = 4; ///< CPU spent in kernel space
uproctrace.proto            35)   optional int64 max_rss_kb = 5; ///< maximum resisent set size in KiB
uproctrace.proto            36)   optional int64 min_flt = 6; ///< minor page fault count (i.e. no I/O)
uproctrace.proto            37)   optional int64 maj_flt = 7; ///< major page fault count (i.e. I/O needed)
uproctrace.proto            38)   optional int64 in_block = 8; ///< number of input operations on file system
uproctrace.proto            39)   optional int64 ou_block = 9; ///< number of output operations on file system
uproctrace.proto            40)   optional int64 n_v_csw = 10; ///< number of voluntary context switches
uproctrace.proto            41)   optional int64 n_iv_csw = 11; ///< number of involuntary context switches
uproctrace.proto            42)   //@}