From: Brendan Gregg Date: Sun, 7 Feb 2016 08:54:44 +0000 (-0800) Subject: update comments X-Git-Tag: v0.1.8~36^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6321d00a975bb94716aa8435fa026a7612c2a73d;p=platform%2Fupstream%2Fbcc.git update comments --- diff --git a/tools/biotop.py b/tools/biotop.py index c26572a..51ecd09 100755 --- a/tools/biotop.py +++ b/tools/biotop.py @@ -59,12 +59,13 @@ b = BPF(text=""" #include #include -// a value of one map, and a key for another: +// for saving process info by request struct who_t { u32 pid; char name[TASK_COMM_LEN]; }; +// the key for the output summary struct info_t { u32 pid; int type; @@ -73,6 +74,7 @@ struct info_t { char name[TASK_COMM_LEN]; }; +// the value of the output summary struct val_t { u64 bytes; u64 us;