Commit 3736885c authored by Brendan Gregg's avatar Brendan Gregg

tidy up: delete value after use

parent 6b8add07
......@@ -86,8 +86,8 @@ int trace_func_return(struct pt_regs *ctx)
if (tsp == 0) {
return 0; // missed start
}
start.delete(&pid);
delta = bpf_ktime_get_ns() - *tsp;
start.delete(&pid);
FACTOR
// store as histogram
......
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