Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libbpf-tools/funclatency.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ static void exit(void)
start = bpf_map_lookup_elem(&starts, &pid);
if (!start)
return;
bpf_map_delete_elem(&starts, &pid);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cleanup should be done at the end of this function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done? PTAL

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash the three commits into one. Other than that, looks good to me.


delta = nsec - *start;

Expand Down