projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007d28c
)
Format code of vfscount.py
author
Nan Xiao
<nan@chinadtrace.org>
Tue, 22 Aug 2017 01:59:26 +0000
(09:59 +0800)
committer
Nan Xiao
<nan@chinadtrace.org>
Tue, 22 Aug 2017 01:59:26 +0000
(09:59 +0800)
tools/vfscount.py
patch
|
blob
|
history
diff --git
a/tools/vfscount.py
b/tools/vfscount.py
index 83eb0d047af03bb32217ce4065fa899e64018604..4641ea3a35af63e964ec7a0ea8e1f047cf6bf0fa 100755
(executable)
--- a/
tools/vfscount.py
+++ b/
tools/vfscount.py
@@
-25,7
+25,7
@@
struct key_t {
BPF_HASH(counts, struct key_t, u64, 256);
-
int do_count(struct pt_regs *ctx) {
+int do_count(struct pt_regs *ctx) {
struct key_t key = {};
u64 zero = 0, *val;
key.ip = PT_REGS_IP(ctx);