[PATCH 1/7] PID namespace translation support

Dmitry V. Levin ldv at altlinux.org
Thu Jul 16 22:13:16 UTC 2020


On Sun, Jul 12, 2020 at 09:46:30PM +0200, Ákos Uzonyi wrote:
[...]
> +		if (debug_flag)
> +			error_msg("Got NS: %" PRIu64, ns_buf[n]);

Consider using debug_msg.

[...]
> +				if (debug_flag)
> +					error_msg("Terminating NS ascending "
> +						  "after %zu levels on NS %"
> +						  PRIu64, n, ns_buf[n - 1]);

Likewise.

[...]
> +			if (debug_flag)
> +				error_msg("PID %d: %s[%d]: %d",
> +					  proc_pid, ns_str, idx, id);

Likewise.


-- 
ldv


More information about the Strace-devel mailing list