Skip to content

Commit

Permalink
combined lines for delta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcaleavya committed Feb 19, 2016
1 parent 683642b commit 0ccf708
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/syncsnoop.py
Expand Up @@ -27,8 +27,7 @@
void kprobe__sys_sync(void *ctx) {
struct data_t data = {};
data.ts = bpf_ktime_get_ns();
data.ts = data.ts / 1000;
data.ts = bpf_ktime_get_ns() / 1000;
events.perf_submit(ctx, &data, sizeof(data));
};
""")
Expand Down

0 comments on commit 0ccf708

Please sign in to comment.