On Mon, 5 Jun 2017 20:43:58 +0200 Eugene Syromiatnikov <e...@redhat.com> wrote:
> On Mon, Jun 05, 2017 at 09:54:29AM +0300, Edgar Kaziahmedov wrote: > > Hi, Strace Community > > > > Advanced syscall information tool > > Accomplishments: > > -> Edited configure and created Makefile.am's in tools and > > tools/asinfo directories to build multiple executables. > > -> Confirmed the final version of the first options to be used, > > tool provides two short and long parameters to make input more > > understandable $ asinfo --get-number[-n] write (will show all > > matches) 1 write > > $ asinfo --get-syscall[-s] 1 (vice versa) > > $ asinfo --get-kernel-file[-k] 1|write > > //path to the file with implementation in the running kernel > > $ asinfo --get-args[-a] 1|write > > ssize_t write(int fd, const void *buf, size_t count) > > $ asinfo --help[-h] > > //help > > /* keys for filter syscall will be added later */ > > > > Speaking about multiarch support, I thought that there is no > > need in support all archs in the runtime. > Well, looks like at least someone was interested in this at some > point [1]. > > > The arch could be determined > > while compilating for the current machine, because strace works > > this way and this tool is complementary for it. > Do you expect to support multiple personalities, like i386 and x32 on > x86_64? > > > Before next Monday I'll send out the patch with the first two > > options implemented, because of having an exam on the 8 June. > > > > Best regards, > > Edgar Kaziahmedov > > > [1] https://strace.io/logs/strace/2017-02-08#1066; > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Strace-devel mailing list > Strace-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/strace-devel Okay, in this case it looks like there is no need to use syscallent.h, because default headers provide the same info in sense of asinfo tool. Speaking about multiarch support I am coming to conclusion that I am going to have to implement sort of midlayer for all archs, special table. btw, aren't you against of creating new folder named "tools" for asinfo? because analyzed a lot of solutions I came to conclusion that it is the best way.
pgpMcLvcy6Ljb.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel