nits
authorBrendan Gregg <brendan.d.gregg@gmail.com>
Sun, 7 Feb 2016 01:11:59 +0000 (17:11 -0800)
committerBrendan Gregg <brendan.d.gregg@gmail.com>
Sun, 7 Feb 2016 01:11:59 +0000 (17:11 -0800)
tools/bitesize.py

index ef3ab29..9141ab6 100755 (executable)
@@ -19,7 +19,7 @@ bpf_text = """
 #include <uapi/linux/ptrace.h>
 #include <linux/blkdev.h>
 
-struct proc_key_t  {
+struct proc_key_t {
     char name[TASK_COMM_LEN];
     u64 slot;
 };
@@ -41,12 +41,12 @@ int trace_pid_start(struct pt_regs *ctx, struct request *req)
     return 0;
 }
 
-int do_count (struct pt_regs *ctx, struct request *req)
+int do_count(struct pt_regs *ctx, struct request *req)
 {
     struct val_t *valp;
 
     valp = commbyreq.lookup(&req);
-    if (valp ==  0) {
+    if (valp == 0) {
        return 0;
     }