Re: [RFC PATCH v2 2/3] trace2: add a schema validator for trace2 events

2019-07-24 Thread Josh Steadmon
Thanks for the review, replies are inline below. On 2019.07.11 15:35, Jakub Narebski wrote: > Josh Steadmon writes: > > > trace_schema_validator can be used to verify that trace2 event output > > conforms to the expectations set by the API documentation and codified > > in event_schema.json (or

Re: [RFC PATCH v2 2/3] trace2: add a schema validator for trace2 events

2019-07-11 Thread Jakub Narebski
Josh Steadmon writes: > trace_schema_validator can be used to verify that trace2 event output > conforms to the expectations set by the API documentation and codified > in event_schema.json (or strict_schema.json). This allows us to build a > regression test to verify that trace2 output does not

[RFC PATCH v2 2/3] trace2: add a schema validator for trace2 events

2019-07-09 Thread Josh Steadmon
trace_schema_validator can be used to verify that trace2 event output conforms to the expectations set by the API documentation and codified in event_schema.json (or strict_schema.json). This allows us to build a regression test to verify that trace2 output does not change unexpectedly. Signed-off