[strace PATCH 04/12] Introduce s390_sthyi system call decoder

Heiko Carstens heiko.carstens at de.ibm.com
Mon Jan 22 13:16:43 UTC 2018


On Thu, Jan 18, 2018 at 07:16:44AM +0100, Eugene Syromyatnikov wrote:
> +static void
> +print_sthyi_hypervisor(struct tcb *tcp, struct sthyi_hypervisor *hdr,
> +		       uint16_t size, int num, bool mt)
> +{
> +	CHECK_SIZE(hdr, size, "hypervisor %d structure", num);
> +
> +	tprintf("/* hypervisor %d */ ", num);
> +	PRINT_FIELD_0X("{", *hdr, infyflg1);
> +	if (!abbrev(tcp) && hdr->infyflg1)
> +		tprintf_comment("%s%s%s%s%#.0x%s",
> +			hdr->infyflg1 & 0x80 ?
> +				"0x80 - guest CPU usage had limiting is using "
> +				"the consumption method" : "",
> +			(hdr->infyflg1 & 0x80) && (hdr->infyflg1 & 0x40) ?
> +				", " : "",
> +			hdr->infyflg1 & 0x40 ?
> +				"0x40 -  LIMITHARD caps use prorated core time "
                                       ^^
Here you have two whitespace characters (instead of one) which cause the
s390_sthyi-v test to fail.





More information about the Strace-devel mailing list