Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new feature: Trace Profiling #335

Merged
merged 154 commits into from
Oct 25, 2022

Conversation

dxsup
Copy link
Member

@dxsup dxsup commented Oct 25, 2022

What is Trace Profiling?

We define Trace Profiling as a feature that can tell users what happened for every thread during a distributing trace span.

What does Trace Profiling do?

  • How all threads were executed is recorded and can be replayed.
  • The exact thread which executed the trace span is highlighted.
  • The logs printed by each thread are collected and correlated to the relative thread with its timestamp.
  • The code execution flame graph is correlated to the time series where CPU is busy.
  • The network-related metrics are correlated to the time series where the network syscalls are executing.
  • The file-related metrics are correlated to the time series where the file syscalls are executing.

sanyangji and others added 30 commits June 7, 2022 11:24
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
convert the cgo event to the KindlingEvent
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
using a channel to store the events
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
Signed-off-by: sangyangji <songyujie@zju.edu.cn>
# Conflicts:
#	probe/cmake/modules/perf.cmake
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
dxsup and others added 13 commits October 20, 2022 15:24
Signed-off-by: Daxin Wang <idxwang@outlook.com>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Signed-off-by: Daxin Wang <idxwang@outlook.com>
Signed-off-by: Daxin Wang <idxwang@outlook.com>
Signed-off-by: Daxin Wang <idxwang@outlook.com>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Signed-off-by: yiqianxu <yiqianxu@harmonycloud.cn>
Daxin Wang added 2 commits October 25, 2022 15:08
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup changed the title Add new feature: Trace Profiling Add a new feature: Trace Profiling Oct 25, 2022
jundizhou and others added 7 commits October 25, 2022 15:26
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: jundizhou <jundizhou@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@Kindling-project Kindling-project merged commit 0c5ae59 into KindlingProject:main Oct 25, 2022
@dxsup dxsup deleted the fix_my_cpu branch March 24, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants