diff options
author | Marko Myllynen <myllynen@redhat.com> | 2018-10-05 17:16:13 +0300 |
---|---|---|
committer | Marko Myllynen <myllynen@redhat.com> | 2018-10-05 17:16:13 +0300 |
commit | 1c7e2a8f3fb02d4516fccc410272324fff250be9 (patch) | |
tree | a1bdfbee4d86ada1b1c1e8a30db2be20f729c616 | |
parent | 215fc84bac0037ac5b2047940f97ecc97f0860b9 (diff) | |
download | bcc-1c7e2a8f3fb02d4516fccc410272324fff250be9.zip bcc-1c7e2a8f3fb02d4516fccc410272324fff250be9.tar.gz bcc-1c7e2a8f3fb02d4516fccc410272324fff250be9.tar.bz2 |
uflow: drop unused timestamp field
-rwxr-xr-x | tools/lib/uflow.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/lib/uflow.py b/tools/lib/uflow.py index fdbcfc3..f2a458d 100755 --- a/tools/lib/uflow.py +++ b/tools/lib/uflow.py @@ -49,7 +49,6 @@ program = """ struct call_t { u64 depth; // first bit is direction (0 entry, 1 return) u64 pid; // (tgid << 32) + pid from bpf_get_current... - u64 timestamp; // ns char clazz[80]; char method[80]; }; @@ -89,7 +88,6 @@ int NAME(struct pt_regs *ctx) { FILTER_METHOD data.pid = bpf_get_current_pid_tgid(); - data.timestamp = bpf_ktime_get_ns(); depth = entry.lookup_or_init(&data.pid, &zero); data.depth = DEPTH; UPDATE @@ -183,7 +181,6 @@ class CallEvent(ct.Structure): _fields_ = [ ("depth", ct.c_ulonglong), ("pid", ct.c_ulonglong), - ("timestamp", ct.c_ulonglong), ("clazz", ct.c_char * 80), ("method", ct.c_char * 80) ] |