Working on -e trace
haris iqbal
haris.phnx at gmail.com
Tue Mar 15 05:44:04 UTC 2016
On Tue, Mar 15, 2016 at 8:49 AM, haris iqbal <haris.phnx at gmail.com> wrote:
> On Tue, Mar 15, 2016 at 3:15 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
>> 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?
>
> Are you talking about the date in the first line? Or is it something else?
Ok, I cloned the repo in a separate folder and applied the patch, and
it worked. So, it seems the problem is with the formatting when I
paste it in email. I will try sending it using the send-email option.
>
>> Is it really so difficult to submit an applicable patch?
>
> I am trying, I apologize if its really a simple thing.
>
>>
>>
>> --
>> ldv
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>> _______________________________________________
>> Strace-devel mailing list
>> Strace-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/strace-devel
>>
>
>
>
> --
>
> With regards,
>
> Md Haris Iqbal,
> Placement Coordinator, MTech IT
> NITK Surathkal,
> Contact: +91 8861996962
--
With regards,
Md Haris Iqbal,
Placement Coordinator, MTech IT
NITK Surathkal,
Contact: +91 8861996962
More information about the Strace-devel
mailing list