[PATCH 3/3] asinfo: Introduce static query tool asinfo

Eugene Syromiatnikov esyr at redhat.com
Fri Aug 11 00:27:31 UTC 2017


On Sat, Aug 05, 2017 at 04:57:36AM +0300, Edgar Kaziakhmedov wrote:
> +
> +#define ARCH_DESC_DEFINE(arch, base_arch, mode) \
> +	[ARCH_##arch##_##mode] = { \
> +		.arch_num		= ARCH_##arch##_##mode, \
> +		.arch_name		= #arch, \
> +		.arch_name_len		= ARRAY_SIZE(#arch) - 1, \
> +		.arch_base_num		= ARCH_##base_arch##_##mode, \
> +		.abi_mode		= #mode, \
> +		.abi_mode_len		= ARRAY_SIZE(#arch) - 1, \
#mode?

> +		.max_scn		= ARRAY_SIZE(arch##_##mode##_sysent), \
> +		.syscall_list		= arch##_##mode##_sysent, \
> +		.user_num1		= &arch##_##mode##_usr1, \
> +		.user_num2		= &arch##_##mode##_usr2, \
> +	}
> +

btw, make-dist fails with the following diagnostics:

Making all in asinfo
make[4]: *** No rule to make target 'asinfo.1', needed by 'all-am'.  Stop.
make[4]: *** Waiting for unfinished jobs....
Makefile:393: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:6044: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:1763: recipe for target 'all' failed
make[1]: *** [all] Error 2
Makefile:6257: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1




More information about the Strace-devel mailing list