Commit 0ccf7083 authored by Allan McAleavy's avatar Allan McAleavy

combined lines for delta

parent 683642be
......@@ -27,8 +27,7 @@ BPF_PERF_OUTPUT(events);
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));
};
""")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment