Re: [Intel-gfx] [PATCH i-g-t 2/4] intel_gpu_top: Automatically enclose JSON output into brackets

2023-01-26 Thread Kamil Konieczny
On 2023-01-12 at 17:47:28 +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Parsers need the whole output enclosed into square brackets so every > period sample becomes an array element. > > So far we have been suggesting this in the man page but we can trivially > make the tool output

[Intel-gfx] [PATCH i-g-t 2/4] intel_gpu_top: Automatically enclose JSON output into brackets

2023-01-12 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Parsers need the whole output enclosed into square brackets so every period sample becomes an array element. So far we have been suggesting this in the man page but we can trivially make the tool output that itself. Signed-off-by: Tvrtko Ursulin Cc: Eero Tamminen ---