[PATCH 4/6] Add asinfo to build strace deb/rpm packages

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo detects ABI mode based on userspace environment in biarch systems, add asinfo only to strace package. * debian/control (strace, strace-udeb): Add asinfo decription. * debian/strace.install: Add path to asinfo binary. * debian/strace.manpages: Add path to asinfo man. * strace.spec.in (%fi

[PATCH 5/6] Update NEWS

2017-12-10 Thread Edgar Kaziakhmedov
Signed-off-by: Edgar Kaziakhmedov --- NEWS | 4 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 448a9cb3..8ae25fbd 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,10 @@ Noteworthy changes in release ?.?? (-??-??) * Bug fixes * Fixed multi-personality support in cross builds

[PATCH 2/6] asinfo: Introduce static query tool asinfo

2017-12-10 Thread Edgar Kaziakhmedov
The main purpose of this query tool is to present all information concluded at sysent.h files in a convenient way. The asinfo tool has the following staged architecture: (command dispatcher)->(architecture dispatcher)-> (abi dispatcher)->(system call dispatcher). Each dispatcher accepts proccesed d

[PATCH 6/6] tests: introduce tests to asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
This set of tests cover all possible cases in asinfo tool. However, as asinfo uses some libraries provided by strace (such as basic_filters) there is no need to test them again in asinfo context. Also, the set of syscalls for specific architecture (hence, its number) might be expanded in the future

[PATCH 3/6] Generate arch_includes.h and arch_personalities.h

2017-12-10 Thread Edgar Kaziakhmedov
Since arch_definitions.h contains full description about architectures, arch_includes.h and arch_personalities.h can be generated. * tools/asinfo/gen_asinfo_files.sh: New file. * bootstrap: Add it. * tools/asinfo/arch_includes.h: Delete it. * tools/asinfo/arch_personalities.h: Likewise. * tools/as

[PATCH v13 0/6] Introduce asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
Some relative paths don't work in Makefile.am when we move building directory, so v12 fixes it allowing make-dist to be run properly. Changelog: v13 * voluntaristic reason v12 * Add libcommon.a for sharing sources between strace and asinfo. * Make polished patches. * Add .dir to clean. * Make ma

[PATCH 1/6] Makefile.am: group set of source files into static lib

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo requires some strace source files to work, it is neccessary to group them into separate static library. * Makefile.am (strace_SOURCES): Delete basic_filters.c, error_prints.c, error_prints.h, filter.h, macros.h, number_set.c, number_set.h, string_to_uint.h, string_to_uint.c, sysent_short

Re: [PATCH v12 0/7] Introduce asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
Sorry again, something wrong happened. On 12/10/2017 04:56 PM, Edgar Kaziakhmedov wrote: Some relative paths don't work in Makefile.am when we move building directory, so v12 fixes it allowing make-dist to be run properly. Changelog: v12 * Add libcommon.a for sharing sources between strace an

[PATCH v12 0/7] Introduce asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
Some relative paths don't work in Makefile.am when we move building directory, so v12 fixes it allowing make-dist to be run properly. Changelog: v12 * Add libcommon.a for sharing sources between strace and asinfo. * Make polished patches. * Add .dir to clean. * Make make-dist working with asinfo.

[PATCH 5/7] Add asinfo to build strace deb/rpm packages

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo detects ABI mode based on userspace environment in biarch systems, add asinfo only to strace package. * debian/control (strace, strace-udeb): Add asinfo decription. * debian/strace.install: Add path to asinfo binary. * debian/strace.manpages: Add path to asinfo man. * strace.spec.in (%fi

[PATCH 6/7] Update NEWS

2017-12-10 Thread Edgar Kaziakhmedov
Signed-off-by: Edgar Kaziakhmedov --- NEWS | 4 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 448a9cb3..8ae25fbd 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,10 @@ Noteworthy changes in release ?.?? (-??-??) * Bug fixes * Fixed multi-personality support in cross builds

[PATCH 4/7] Generate arch_includes.h and arch_personalities.h

2017-12-10 Thread Edgar Kaziakhmedov
Since arch_definitions.h contains full description about architectures, arch_includes.h and arch_personalities.h can be generated. * tools/asinfo/gen_asinfo_files.sh: New file. * bootstrap: Add it. * tools/asinfo/arch_includes.h: Delete it. * tools/asinfo/arch_personalities.h: Likewise. * tools/as

[PATCH 2/7] Makefile.am: group set of source files into static lib

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo requires some strace source files to work, it is neccessary to group them into separate static library. * Makefile.am (strace_SOURCES): Delete basic_filters.c, error_prints.c, error_prints.h, filter.h, macros.h, number_set.c, number_set.h, string_to_uint.h, string_to_uint.c, sysent_short

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

2017-12-10 Thread Edgar Kaziakhmedov
The main purpose of this query tool is to present all information concluded at sysent.h files in a convenient way. The asinfo tool has the following staged architecture: (command dispatcher)->(architecture dispatcher)-> (abi dispatcher)->(system call dispatcher). Each dispatcher accepts proccesed d

[PATCH 7/7] tests: introduce tests to asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
This set of tests cover all possible cases in asinfo tool. However, as asinfo uses some libraries provided by strace (such as basic_filters) there is no need to test them again in asinfo context. Also, the set of syscalls for specific architecture (hence, its number) might be expanded in the future

[PATCH 1/7] tests: check decoding of KVM ioctl commands

2017-12-10 Thread Edgar Kaziakhmedov
From: Masatake YAMATO * tests/ioctl_kvm_run.c: New file. * tests/ioctl_kvm_run.test: New test. * tests/Makefile.am (DECODER_TESTS): Add ioctl_kvm_run.test. * tests/pure_executables.list: Add ioctl_kvm_run. * tests/.gitignore: Likewise. Co-authored-by: Dmitry V. Levin --- tests/.gitignore

Re: [PATCH v12 0/7] Introduce asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
Sorry, forgot to attach 7th patch On 12/10/2017 04:53 PM, Edgar Kaziakhmedov wrote: Some relative paths don't work in Makefile.am when we move building directory, so v12 fixes it allowing make-dist to be run properly. Changelog: v12 * Add libcommon.a for sharing sources between strace and asi

[PATCH 6/6] tests: introduce tests to asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
This set of tests cover all possible cases in asinfo tool. However, as asinfo uses some libraries provided by strace (such as basic_filters) there is no need to test them again in asinfo context. Also, the set of syscalls for specific architecture (hence, its number) might be expanded in the future

[PATCH 2/6] asinfo: Introduce static query tool asinfo

2017-12-10 Thread Edgar Kaziakhmedov
The main purpose of this query tool is to present all information concluded at sysent.h files in a convenient way. The asinfo tool has the following staged architecture: (command dispatcher)->(architecture dispatcher)-> (abi dispatcher)->(system call dispatcher). Each dispatcher accepts proccesed d

[PATCH 5/6] Update NEWS

2017-12-10 Thread Edgar Kaziakhmedov
Signed-off-by: Edgar Kaziakhmedov --- NEWS | 4 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 448a9cb3..8ae25fbd 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,10 @@ Noteworthy changes in release ?.?? (-??-??) * Bug fixes * Fixed multi-personality support in cross builds

[PATCH 1/6] Makefile.am: group set of source files into static lib

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo requires some strace source files to work, it is neccessary to group them into separate static library. * Makefile.am (strace_SOURCES): Delete basic_filters.c, error_prints.c, error_prints.h, filter.h, macros.h, number_set.c, number_set.h, string_to_uint.h, string_to_uint.c, sysent_short

[PATCH v12 0/7] Introduce asinfo tool

2017-12-10 Thread Edgar Kaziakhmedov
Some relative paths don't work in Makefile.am when we move building directory, so v12 fixes it allowing make-dist to be run properly. Changelog: v12 * Add libcommon.a for sharing sources between strace and asinfo. * Make polished patches. * Add .dir to clean. * Make make-dist working with asinfo.

[PATCH 3/6] Generate arch_includes.h and arch_personalities.h

2017-12-10 Thread Edgar Kaziakhmedov
Since arch_definitions.h contains full description about architectures, arch_includes.h and arch_personalities.h can be generated. * tools/asinfo/gen_asinfo_files.sh: New file. * bootstrap: Add it. * tools/asinfo/arch_includes.h: Delete it. * tools/asinfo/arch_personalities.h: Likewise. * tools/as

[PATCH 4/6] Add asinfo to build strace deb/rpm packages

2017-12-10 Thread Edgar Kaziakhmedov
As asinfo detects ABI mode based on userspace environment in biarch systems, add asinfo only to strace package. * debian/control (strace, strace-udeb): Add asinfo decription. * debian/strace.install: Add path to asinfo binary. * debian/strace.manpages: Add path to asinfo man. * strace.spec.in (%fi