Skip to content

trace: Handle new field format for sched_energy_diff

Darryl Green requested to merge github/fork/bjackman/trace-new-nrg-diff into master

Created by: bjackman

There is a new format for the sched_energy_diff trace event in EAS code in the Android common kernel:

https://android.googlesource.com/kernel/common/+/6aab3e4a9266fb661638e37ad4745573aff6de5c%5E%21/

Add support for parsing this format in Trace, by translating equivalent field names and making unmatched fields optional.


I have only done the bare minimum to allow me to use LISA to parse traces from kernels containing these events. I haven't checked that the result of this method makes any sense, neither with the existing events nor the new.

Merge request reports