Re: Implemented -e trace=%clock option

2017-03-12 Thread Eugene Syromyatnikov
On Sat, Mar 11, 2017 at 10:16:42PM +0530, Rishi Bhatt wrote: > Sorry, Ignore previous attachment. > > The following patch is the implementation. > I've tried to apply this, but git-am(1) failed with the following diagnostics: .git/rebase-apply/patch:801: trailing whitespace. #define TC TRACE_C

Re: GSoC 2017 introduction

2017-03-12 Thread Eugene Syromyatnikov
On Sat, Mar 11, 2017 at 02:51:35PM +0300, Victor Krapivensky wrote: > Removed a trailing semicolon in a macro definition in tests/xstatx.c > and changed copyright holders of new files to "The strace developers". > > Please review this one. > > I've also found a possile buffer overflow bug in unwi

Re: GSOC: Introduction

2017-03-12 Thread Eugene Syromyatnikov
On Sat, Mar 11, 2017 at 02:26:42PM +0530, Abhishek Tiwari wrote: > On Sat, Mar 11, 2017 at 1:46 PM, Abhishek Tiwari > wrote: > > Sir, I figured out that open system call is implemented corresponding > > to kernel version it supports, so open syscall is inside > > linux/x32/syscallent.h while opena

Re: Implemented -e trace=%clock option

2017-03-12 Thread Eugene Syromyatnikov
> diff --git a/strace.1 b/strace.1 > index 9b69ec22..c46ca3ba 100644 > --- a/strace.1 > +++ b/strace.1 > @@ -429,6 +429,9 @@ Trace all memory mapping related system calls. > .BR "\-e\ trace" = %sched > Trace all scheduler-related (sched_*) system calls. > .TP > +.BR "\-e\ trace" = %clock > ++Tra

Re: GSOC: Introduction

2017-03-12 Thread Eugene Syromyatnikov
> Thank you for the patch acceptance. > Is the following list of open system calls complete ? It is based on > reply that function calls that returns new file descriptor > > 1) mq_open > 2) openat > 3) perf_event_open > 4) open_by_handle_at > 5) memfd_create > 6) epoll_create1 > 7) dup > 8) dup3 >