Looking at possibilities of Perfetto for an embedded Linux environment.
Ref.
https://perfetto.dev/docs/quickstart/linux-tracingFrom this link, it looks like only basic tracing like ftrace with a system-level GUI view with timeline of processes and callstacks is supported on Linux. Would be good to get the following clarified:
1. Support for runtime attach to a user space process and tracing at function level latency, frequency of calls and other parameters at real-time (Kindly indicate if it is possible and if so, what is required to do this)
2. If application level tracing is only possible with instrumenting the code with tracelogs integrating Perfetto SDK, looks like only C++ libraries are supported. Kindly indicate possible library/SDK/other ways similar tracing can be done for Linux/C applications.
3. Has use of Linux uprobe possibility been explored, that may help Perfetto support function level tracing without having to require instrumentation application code with SDK tracelogs?