You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This is not great as self.perf_type can be set to perf, so the class ends up indiscriminately killing all perf processes on the system, possibly as root. This is not a very good neighborly behavior. Instead, it should spawn a process (e.g. with Target.background()) and kill that process specifically, without interfering with resources it does not own.
As BackgroundCommand.send_signal() now supports all signals (rather than just SIGKILL), it should be suitable for use in PerfCollector. The FtraceCollector can be taken as an example of how to use devlib-signal-target and send_signal().
Activity
douglas-raillard-arm commentedon May 20, 2025
As
BackgroundCommand.send_signal()now supports all signals (rather than just SIGKILL), it should be suitable for use inPerfCollector. TheFtraceCollectorcan be taken as an example of how to usedevlib-signal-targetandsend_signal().