Working on -e trace

Dmitry V. Levin ldv at altlinux.org
Mon Mar 14 21:45:26 UTC 2016


On Mon, Mar 14, 2016 at 11:36:24AM +0530, haris iqbal wrote:
> >From 97da320a96fed7731a5dd2de457696377a899fae Mon Sep 17 00:00:00 2001
> From: Md Haris Iqbal <haris.phnx at gmail.com>
> Date: Mon, 14 Mar 2016 11:32:34 +0530
> Subject: [PATCH] Added -e trace=scheduler option for tracing scheduler related
>  syscalls.
> 
> ---
>  NEWS                          |  1 +
>  defs.h                        |  1 +
>  linux/32/syscallent.h         | 24 ++++++++++++------------
>  linux/64/syscallent.h         | 24 ++++++++++++------------
>  linux/alpha/syscallent.h      | 24 ++++++++++++------------
>  linux/arm/syscallent.h        | 24 ++++++++++++------------
>  linux/avr32/syscallent.h      | 24 ++++++++++++------------
>  linux/bfin/syscallent.h       | 24 ++++++++++++------------
>  linux/hppa/syscallent.h       | 24 ++++++++++++------------
>  linux/i386/syscallent.h       | 24 ++++++++++++------------
>  linux/ia64/syscallent.h       | 24 ++++++++++++------------
>  linux/m68k/syscallent.h       | 24 ++++++++++++------------
>  linux/microblaze/syscallent.h | 24 ++++++++++++------------
>  linux/mips/syscallent-n32.h   | 24 ++++++++++++------------
>  linux/mips/syscallent-n64.h   | 24 ++++++++++++------------
>  linux/mips/syscallent-o32.h   | 24 ++++++++++++------------
>  linux/powerpc/syscallent.h    | 24 ++++++++++++------------
>  linux/powerpc64/syscallent.h  | 24 ++++++++++++------------
>  linux/s390/syscallent.h       | 24 ++++++++++++------------
>  linux/s390x/syscallent.h      | 24 ++++++++++++------------
>  linux/sh/syscallent.h         | 20 ++++++++++----------
>  linux/sh64/syscallent.h       | 20 ++++++++++----------
>  linux/sparc/syscallent.h      | 28 ++++++++++++++--------------
>  linux/sparc64/syscallent.h    | 28 ++++++++++++++--------------
>  linux/x32/syscallent.h        | 24 ++++++++++++------------
>  linux/x86_64/syscallent.h     | 24 ++++++++++++------------
>  linux/xtensa/syscallent.h     | 24 ++++++++++++------------
>  strace.1                      |  3 +++
>  syscall.c                     |  4 ++++
>  29 files changed, 309 insertions(+), 300 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index 7779f65..2f59faa 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -12,6 +12,7 @@ Noteworthy changes in release ?.?? (????-??-??)
>      spent in decoding socket details in -yy mode.
>    * Implemented decoding of copy_file_range syscall.
>    * Implemented dumping of vmsplice syscall.
> +  * Added -e trace=scheduler option for tracing scheduler related syscalls.
> 
>  * Bug fixes
>    * Fixed build on arc, metag, nios2, or1k, and tile architectures.
> diff --git a/defs.h b/defs.h
> index f095ff6..531fc9d 100644
> --- a/defs.h
> +++ b/defs.h
> @@ -407,6 +407,7 @@ extern const struct xlat whence_codes[];
>  #define STACKTRACE_INVALIDATE_CACHE 0400  /* Trigger proc/maps cache
> updating */
>  #define STACKTRACE_CAPTURE_ON_ENTER 01000 /* Capture stacktrace on
> "entering" stage */
>  #define TRACE_INDIRECT_SUBCALL    02000    /* Syscall is an indirect
> socket/ipc subcall. */
> +#define TRACE_SCHED    04000    /* Trace scheduler-related syscalls */

Don't you see that the patch you are sending out is corrupted?
Is it really so difficult to submit an applicable patch?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160315/fe727f03/attachment.bin>


More information about the Strace-devel mailing list