[igt-dev] [PATCH i-g-t v2 03/11] tools/intel_guc_logger: Add GT-ID selection for intel_guc_logger

Teres Alexis, Alan Previn alan.previn.teres.alexis at intel.com
Tue Mar 14 21:54:06 UTC 2023


On Tue, 2022-12-06 at 00:58 -0800, Alan Previn wrote:
> With the introduction of MTL and multi-tile products, add a new
> cmd line param for users to select which GT to collect GuC relay
> logs from.
> 
alan:snip
> @@ -538,9 +569,10 @@ static void process_command_line(int argc, char **argv, struct global_t *data)
>  		"  -t --testduration=sec  max duration in seconds for which the logger should run\n"
>  		"  -p --polltimeout=ms    polling timeout in ms, -1 == indefinite wait for the new data\n"
>  		"  -s --size=MB           max size of output file in MBs after which logging will be stopped\n"
> -		"  -d --discard           discard the old/boot-time logs before entering into the capture loop\n";
> +		"  -d --discard           discard the old/boot-time logs before entering into the capture loop\n"
> +		"  -i --gt_id             GT-ID of GuC to capture from, defaults to capture from gt0\n";
>  
> -	igt_simple_init_parse_opts(&argc, argv, "v:o:b:t:p:s:d", long_options,
> +	igt_simple_init_parse_opts(&argc, argv, "v:o:b:t:p:s:d:i", long_options,
alan: when retesting with MTL with both gt's, i realize above is a typo bug ... should have been "v:o:b:t:p:s:di:" ('i' needs the param).

alan:snip



More information about the igt-dev mailing list