[Intel-gfx] [PATCH] lib: Add a YAML emitter

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 14 12:48:43 UTC 2020


Quoting Jani Nikula (2020-02-14 07:57:09)
> On Thu, 13 Feb 2020, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > Provide a library to generate correct YAML for use in structured debugfs
> > or similar information dumps. This will be useful to pull our large
> > information dumps into a forwards compatible, parse-able file-format by
> > forcing some structure upon ourselves!
> 
> Acked-by: Jani Nikula <jani.nikula at intel.com>
> 
> I like the idea. I like the prospect of converting *all* of our bigger
> debugfs files to have some structure. Why not smaller ones too, to be
> uniform. Not entirely sold on using it in sysfs, like the example code
> did, but even that might be justified for capturing a state.

Fair enough, I shall not mention sysfs in the first pass :)
And I'll do a couple more large and small debugfs to help flesh out the
API and demonstrate its usecases.
-Chris


More information about the Intel-gfx mailing list