Replies: 6 comments
-
Patches for this welcome. Very unlikely we will get to it ourselves. |
Beta Was this translation helpful? Give feedback.
-
Why not? Is it because of the logic of preempt? |
Beta Was this translation helpful? Give feedback.
-
It's just not a priority for us. We have a lot commitments already going on and we only prioritise features from the open source community when they are going to affect many of our users. This is the first time this feature has been requested in the 7 years of Perfetto's existence so is just not a priority. |
Beta Was this translation helpful? Give feedback.
-
Okay I know!But I need to study source code or you can tell me roughly which parts I should look at and make modifications, and I can make a patch. I think someone will mention this feature in the future. |
Beta Was this translation helpful? Give feedback.
-
Well this looks to me like an entirely new file format. Even the if CONFIG_PREEMPT_RT is disabled, we do not parse that. So you need to make a bunch of changes throughout the codebase to make this happen:
Instructions on contributing in general can be found at https://perfetto.dev/docs/contributing/getting-started You might end up with something similar to similar to https://r.android.com/3368462 where someone from the community added support for a new trace type. So it's not some simple task, it requires quite a bit of work :)
Maybe but unless it's a priority for many users OR it's a priority for some team we explicitly support inside Google, we won't get to this. [1] https://github.com/google/perfetto/blob/master/src/trace_processor/util/trace_type.cc#L109 |
Beta Was this translation helpful? Give feedback.
-
Thank Lalit Maganti, I will evaluate my resources and then start developing this patch. |
Beta Was this translation helpful? Give feedback.
-
The format printed under some configurations cannot be parsed on Perfetto. It is hoped that in the future, supported formats can be added along with kernel version updates.
https://github.com/torvalds/linux/blob/v5.15/kernel/trace/trace_osnoise.c
Beta Was this translation helpful? Give feedback.
All reactions