kindling icon indicating copy to clipboard operation
kindling copied to clipboard

Allow users to select which process to enable trace-profiling

Open dxsup opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Now when users enable trace-profiling, all the processes on the host are profiled. The motivation to allow users to select which process to enable trace-profiling is:

  • Users only care about part of the processes and don't want to affect others.
  • More processes, more events, and more resources are consumed.

Describe the solution you'd like

To implement the feature, the following modifications should be made:

  • Users can see the processes on the host when enabling trace-profiling from the front end and can select some of them.
  • Collector provides an API that accepts PID or container ID or other identification to enable trace-profiling.
  • The drivers can classify which processes are profiled.

dxsup avatar Feb 23 '23 06:02 dxsup