On Thu, Nov 09, 2017 at 01:06:49AM +0300, Edgar Kaziakhmedov wrote:
> On 11/09/2017 12:12 AM, Dmitry V. Levin wrote:
> > On Wed, Nov 08, 2017 at 04:44:45PM +0300, Edgar Kaziakhmedov wrote:
> >> Since arch_definitions.h contains full description about architectures,
> >> arch_includes.h and arch_per
On Wed, Nov 08, 2017 at 04:44:45PM +0300, Edgar Kaziakhmedov wrote:
> 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_
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
Signed-off-by: Edgar Kaziakhmedov
---
NEWS | 4
1 file changed, 4 insertions(+)
diff --git a/NEWS b/NEWS
index 79b655ba..d19a40ae 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,10 @@ Noteworthy changes in release ?.?? (-??-??)
* Bug fixes
* Fixed powerpc personality support on powerpc64.
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
* configure.ac (AC_CONFIG_FILES): Add asinfo.1.
(asinfo_manpage_date): New m4 define.
(ASINFO_MANPAGE_DATE): New define/subst.
* tools/asinfo/asinfo.1.in: New file.
* tools/asinfo/gen_asinfo_files.sh: Add asinfo.1 to .gitignore
generation.
Signed-off-by: Edgar Kaziakhmedov
---
configure.ac
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
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
This is going to be the last and full patchset to introduce asinfo
tool.
Changelog:
v11
* Add tests
* Fix issues in dispatcher.c file.
v10
* Add asinfo binary to deb/rpm build.
* Add '--raw' parameter to print out without formating.
* Update MAN page and usage.
* Fix issues and typos.
v9
* Add