Is it possible that hist combine same ustack from different process? #2488
Unanswered
haihuayang
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I believe that this is a bug - there should be a single map entry for each combination of It looks like we're not handling the limit correctly. Running:
Could you verify that this is indeed the problem? I.e. run without the limit and you should see no duplicate keys. If this is the case, please open an issue with some minimal reproducer. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi viktormalik, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using bpftrace to report hist like
@held_time_ns[arg0, ustack(12)] = hist(nsecs - @held_start[tid, arg0]);
it report multiple entries with the same argument and stack track, I guess that it is because the entries are from different processes. is it possible to make it report once for each combination of argument and stack track?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions