[PATCH v6 0/3] Introduce asinfo tool

Edgar Kaziakhmedov edgar.kaziakhmedov at virtuozzo.com
Sat Aug 5 01:57:33 UTC 2017


Fow now, I'd say, that this version of tool works and could be useful.
Thus, accomplishments:
1) Implemented main parameters of syscall dispatcher
2) Implemented usage
3) Fixed several bags and reduced complexity of some algorithms.

What I am going to do by priority:
1) Write script to generate main list of architectures in
arch_interface.c file. It'd be convenient
to add file with description of architecture:
%arch_name%, %base_arch%, %abi_mode%, [%sysent.h's%], %input_define%, [%arch_specific_consts]
And using script generate the next one code:

...
/* ARCH_blackfin */
struct_sysent blackfin_32bit_sysent[] = {
		#include "bfin/syscallent.h"
};
const int blackfin_32bit_usr1 = 0;
const int blackfin_32bit_usr2 = 0;

ARCH_DESC_DEFINE(blackfin,	blackfin,	32bit	),
...
2) Add support of subcalls
3) Man file and tests.4
4) Implement basic filter dispatcher(for example, to show file descriptor related
syscalls or memory related syscalls)






More information about the Strace-devel mailing list