linux/kernel/trace/trace_syscalls.c
<<
> "v3/spaval "v3/formal "v3a > "v href="../linux+v3> 1/kernel/trace/trace_syscalls.c">> "v3img src="../.static/gfx/right.png" alt=">>">> 3/spaval> 3spav class="lxr_search">> > "v3input typ2.6hidden" nam2.6navtarget" 2.6">> "v3input typ2.6text" nam2.6search" id.6search">> "v3butt15"typ2.6submit">Search 3spav class="lxr_prefs"al "v3a href="+prefs?return=kernel/trace/trace_syscalls.c"> "v onclick="return ajax_prefs();">> "vPrefsl "v3/a>> 3/spaval "v v3/dival "v v3form acon v="ajax+*" method="post" onsubmit="return false;">> 3input typ2.6hidden" nam2.6ajax_lookup" id.6ajax_lookup" 2.6">> "v v3/formal> "v v3div class="headingbott1m">l 3div id.6file_contents"a
v v13/a>#include <trace/syscall.h3/a>>
v v23/a>#include <trace/events/syscalls.h3/a>>
v v33/a>#include <linux/slab.h3/a>>
v v43/a>#include <linux/kernel.h3/a>>
v v53/a>#include <linux/module.h3/a>>   "v v3spav class="comment">/* for MODULE_NAME_LEN via KSYM_SYMBOL_LEN */3/spavalv v63/a>#include <linux/ftrace.h3/a>>
v v73/a>#include <linux/perf_event.h3/a>>
v v83/a>#include <asm/syscall.h3/a>>
v v93/a>>v  #include "trace_output.h3/a>">v 11opa>#include "trace.h3/a>">v 123/a>>v 133/a>staticv3a href="+code=DEFINE_MUTEX" class="sref">DEFINE_MUTEX3/a>(3a href="+code=syscall_trace_lock" class="sref">syscall_trace_lock3/a>);>v 143/a>staticvintv3a href="+code=sys_refcount_enter" class="sref">sys_refcount_enter3/a>;>v 153/a>staticvintv3a href="+code=sys_refcount_exit" class="sref">sys_refcount_exit3/a>;>v 163/a>staticv3a href="+code=DECLARE_BITMAP" class="sref">DECLARE_BITMAP3/a>(3a href="+code=enabled_enter_syscalls" class="sref">enabled_enter_syscalls3/a>,v3a href="+code=NR_syscalls" class="sref">NR_syscalls3/a>);>v 173/a>staticv3a href="+code=DECLARE_BITMAP" class="sref">DECLARE_BITMAP3/a>(3a href="+code=enabled_exit_syscalls" class="sref">enabled_exit_syscalls3/a>,v3a href="+code=NR_syscalls" class="sref">NR_syscalls3/a>);>v 183/a>>v 193/a>staticvintv3a href="+code=syscall_enter_register" class="sref">syscall_enter_register3/a>(structv3a href="+code=ftrace_event_call" class="sref">ftrace_event_call3/a> *3a href="+code=event" class="sref">event3/a>,
v 2                                 enumv3a href="+code=trace_reg" class="sref">trace_regopa> 3a href="+code=type" class="sref">type3/a>,vvoid *3a href="+code=data" class="sref">data3/a>);>v 213/a>staticvintv3a href="+code=syscall_exit_register" class="sref">syscall_exit_register3/a>(structv3a href="+code=ftrace_event_call" class="sref">ftrace_event_call3/a> *3a href="+code=event" class="sref">event3/a>,
v 22opa>                                 enumv3a href="+code=trace_reg" class="sref">trace_regopa> 3a href="+code=type" class="sref">type3/a>,vvoid *3a href="+code=data" class="sref">data3/a>);>v 233/a>>v 243/a>staticvintv3a href="+code=syscall_enter_define_fields" class="sref">syscall_enter_define_fields3/a>(structv3a href="+code=ftrace_event_call" class="sref">ftrace_event_call3/a> *3a href="+code=call" class="sref">call3/a>);>v 253/a>staticvintv3a href="+code=syscall_exit_define_fields" class="sref">syscall_exit_define_fields3/a>(structv3a href="+code=ftrace_event_call" class="sref">ftrace_event_call3/a> *3a href="+code=call" class="sref">call3/a>);>v 263/a>>v 273/a>staticvstructv3a href="+code=list_head" class="sref">list_head3/a> *>v 283/a>3a href="+code=syscall_get_enter_fields" class="sref">syscall_get_enter_fields3/a>(structv3a href="+code=ftrace_event_call" class="sref">ftrace_event_call3/a> *3a href="+code=call" class="sref">call3/a>)>v 293/a>{
v 3        structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=entry" class="sref">entry3/a> =v3a href="+code=call" class="sref">call3/a>->3a href="+code=data" class="sref">data3/a>;
v 313/a>>v 32opa>        return &3a href="+code=entry" class="sref">entry3/a>->3a href="+code=enter_fields" class="sref">enter_fields3/a>;
v 333/a>}
v 343/a>>v 353/a>structv3a href="+code=trace_event_funcon vs" class="sref">trace_event_funcon vsopa> 3a href="+code=enter_syscall_print_funcs" class="sref">enter_syscall_print_funcs3/a> =v{
v 36opa>        .3a href="+code=trace" class="sref">traceopa>          =v3a href="+code=print_syscall_enter" class="sref">print_syscall_enter3/a>,
v 373/a>};
v 383/a>>v 393/a>structv3a href="+code=trace_event_funcon vs" class="sref">trace_event_funcon vsopa> 3a href="+code=exit_syscall_print_funcs" class="sref">exit_syscall_print_funcs3/a> =v{
v 40opa>        .3a href="+code=trace" class="sref">traceopa>          =v3a href="+code=print_syscall_exit" class="sref">print_syscall_exit3/a>,
v 413/a>};
v 423/a>>v 433/a>structv3a href="+code=ftrace_event_class" class="sref">ftrace_event_classopa> 3a href="+code=event_class_syscall_enter" class="sref">event_class_syscall_enter3/a> =v{
v 44opa>        .3a href="+code=system" class="sref">systemopa>         =v3spav class="string">"syscalls"v 45opa>        .3a href="+code=reg" class="sref">regopa>            =v3a href="+code=syscall_enter_register" class="sref">syscall_enter_register3/a>,
v 46opa>        .3a href="+code=define_fields" class="sref">define_fields3/a>  =v3a href="+code=syscall_enter_define_fields" class="sref">syscall_enter_define_fields3/a>,
v 47opa>        .3a href="+code=get_fields" class="sref">get_fieldsopa>     =v3a href="+code=syscall_get_enter_fields" class="sref">syscall_get_enter_fields3/a>,
v 48opa>        .3a href="+code=raw_init" class="sref">raw_initopa>       =v3a href="+code=init_syscall_trace" class="sref">init_syscall_trace3/a>,
v 493/a>};
v 503/a>>v 513/a>structv3a href="+code=ftrace_event_class" class="sref">ftrace_event_classopa> 3a href="+code=event_class_syscall_exit" class="sref">event_class_syscall_exit3/a> =v{
v 52opa>        .3a href="+code=system" class="sref">systemopa>         =v3spav class="string">"syscalls"v 53opa>        .3a href="+code=reg" class="sref">regopa>            =v3a href="+code=syscall_exit_register" class="sref">syscall_exit_register3/a>,
v 54opa>        .3a href="+code=define_fields" class="sref">define_fields3/a>  =v3a href="+code=syscall_exit_define_fields" class="sref">syscall_exit_define_fields3/a>,
v 55opa>        .3a href="+code=fields" class="sref">fieldsopa>         =v3a href="+code=LIST_HEAD_INIT" class="sref">LIST_HEAD_INIT3/a>(3a href="+code=event_class_syscall_exit" class="sref">event_class_syscall_exit3/a>.3a href="+code=fields" class="sref">fieldsopa>),
v 56opa>        .3a href="+code=raw_init" class="sref">raw_initopa>       =v3a href="+code=init_syscall_trace" class="sref">init_syscall_trace3/a>,
v 573/a>};
v 583/a>>v 593/a>extern structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=__start_syscalls_metadata" class="sref">__start_syscalls_metadata3/a>[];
v 603/a>extern structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=__stop_syscalls_metadata" class="sref">__stop_syscalls_metadata3/a>[];
v 613/a>>v 623/a>staticvstructv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> **3a href="+code=syscalls_metadata" class="sref">syscalls_metadata3/a>;
v 633/a>>v 643/a>#ifndefv3a href="+code=ARCH_HAS_SYSCALL_MATCH_SYM_NAME" class="sref">ARCH_HAS_SYSCALL_MATCH_SYM_NAME3/a>>v 653/a>staticv3a href="+code=inline" class="sref">inlineopa> 3a href="+code=bool" class="sref">boolopa> 3a href="+code=arch_syscall_match_sym_nam2" class="sref">arch_syscall_match_sym_nam23/a>(const char *3a href="+code=sym" class="sref">sym3/a>,vconst char *3a href="+code=nam2" class="sref">nam23/a>)>v 663/a>{
v 67opa>        3spav class="comment">/*3/spavalv 683/a>3spav class="comment">         * Onlyvcompare after the "sys" prefix. Archs that use3/spavalv 693/a>3spav class="comment">         * syscall wrappers may have syscalls symbols aliases prefixed3/spavalv 703/a>3spav class="comment">         * with "SyS" instead of "sys", leading to av unwanted3/spavalv 713/a>3spav class="comment">         * mismatch.3/spavalv 723/a>3spav class="comment">         */3/spavalv 73opa>        return !3a href="+code=strcmp" class="sref">strcmp3/a>(3a href="+code=sym" class="sref">sym3/a> + 3,v3a href="+code=nam2" class="sref">nam23/a> + 3);>v 743/a>}
v 753/a>#endif
v 763/a>>v 773/a>staticv3a href="+code=__init" class="sref">__initopa> structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *>v 783/a>3a href="+code=find_syscall_meta" class="sref">find_syscall_meta3/a>(unsigned long 3a href="+code=syscall" class="sref">syscall3/a>)>v 793/a>{
v 8        structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> **3a href="+code=start" class="sref">start3/a>;
v 81opa>        structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> **3a href="+code=stop" class="sref">stop3/a>;
v 82opa>        char 3a href="+code=str" class="sref">str3/a>[3a href="+code=KSYM_SYMBOL_LEN" class="sref">KSYM_SYMBOL_LEN3/a>];
v 833/a>>v 843/a>>v 85opa>        3a href="+code=start" class="sref">start3/a> =v3a href="+code=__start_syscalls_metadata" class="sref">__start_syscalls_metadata3/a>;
v 86opa>        3a href="+code=stop" class="sref">stop3/a> =v3a href="+code=__stop_syscalls_metadata" class="sref">__stop_syscalls_metadata3/a>;
v 87opa>        3a href="+code=kallsyms_lookup" class="sref">kallsyms_lookup3/a>(3a href="+code=syscall" class="sref">syscall3/a>,v3a href="+code=NULL" class="sref">NULL3/a>,v3a href="+code=NULL" class="sref">NULL3/a>,v3a href="+code=NULL" class="sref">NULL3/a>,v3a href="+code=str" class="sref">str3/a>);>v 883/a>>v 89opa>        if (3a href="+code=arch_syscall_match_sym_nam2" class="sref">arch_syscall_match_sym_nam23/a>(3a href="+code=str" class="sref">str3/a>,v3spav class="string">"sys_ni_syscall"v 9                return 3a href="+code=NULL" class="sref">NULL3/a>;
v 913/a>>v 92opa>        for ( ; 3a href="+code=start" class="sref">start3/a> < 3a href="+code=stop" class="sref">stop3/a>; 3a href="+code=start" class="sref">start3/a>++)v{
v 93opa>                if ((*3a href="+code=start" class="sref">start3/a>)->3a href="+code=nam2" class="sref">nam23/a> && 3a href="+code=arch_syscall_match_sym_nam2" class="sref">arch_syscall_match_sym_nam23/a>(3a href="+code=str" class="sref">str3/a>,v(*3a href="+code=start" class="sref">start3/a>)->3a href="+code=nam2" class="sref">nam23/a>))>v 94opa>                        return *3a href="+code=start" class="sref">start3/a>;
v 95opa>        }
v 96opa>        return 3a href="+code=NULL" class="sref">NULL3/a>;
v 973/a>}
v 983/a>>v 993/a>staticvstructv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=syscall_nr_to_meta" class="sref">syscall_nr_to_meta3/a>(intv3a href="+code=nr" class="sref">nr3/a>)>v1003/a>{
v101opa>        if (!3a href="+code=syscalls_metadata" class="sref">syscalls_metadata3/a> ||v3a href="+code=nr" class="sref">nr3/a> >=v3a href="+code=NR_syscalls" class="sref">NR_syscalls3/a> ||v3a href="+code=nr" class="sref">nr3/a> < 0)>v102opa>                return 3a href="+code=NULL" class="sref">NULL3/a>;
v1033/a>>v104opa>        return 3a href="+code=syscalls_metadata" class="sref">syscalls_metadata3/a>[3a href="+code=nr" class="sref">nr3/a>];
v1053/a>}
v1063/a>>v1073/a>enumv3a href="+code=print_line_t" class="sref">print_line_t3/a>>v1083/a>3a href="+code=print_syscall_enter" class="sref">print_syscall_enter3/a>(structv3a href="+code=trace_iterator" class="sref">trace_iterator3/a> *3a href="+code=iter" class="sref">iter3/a>,vintv3a href="+code=flags" class="sref">flags3/a>,
v109opa>                    structv3a href="+code=trace_event" class="sref">trace_event3/a> *3a href="+code=event" class="sref">event3/a>)>v1103/a>{
v111opa>        structv3a href="+code=trace_seq" class="sref">trace_seq3/a> *3a href="+code=s" class="sref">s3/a> =v&3a href="+code=iter" class="sref">iter3/a>->3a href="+code=seq" class="sref">seq3/a>;>v112opa>        structv3a href="+code=trace_entry" class="sref">trace_entry3/a> *3a href="+code=ent" class="sref">ent3/a> =v3a href="+code=iter" class="sref">iter3/a>->3a href="+code=ent" class="sref">ent3/a>;>v113opa>        structv3a href="+code=syscall_trace_enter" class="sref">syscall_trace_enter3/a> *3a href="+code=trace" class="sref">trace3/a>;>v114opa>        structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=entry" class="sref">entry3/a>;>v115opa>        intv3a href="+code=i" class="sref">i3/a>,v3a href="+code=ret" class="sref">ret3/a>,v3a href="+code=syscall" class="sref">syscall3/a>;>v1163/a>>v117opa>        3a href="+code=trace" class="sref">trace3/a> =v(3a href="+code=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=ent" class="sref">ent3/a>;>v118opa>        3a href="+code=syscall" class="sref">syscall3/a> =v3a href="+code=trace" class="sref">trace3/a>->3a href="+code=nr" class="sref">nr3/a>;>v119opa>        3a href="+code=entry" class="sref">entry3/a> =v3a href="+code=syscall_nr_to_meta" class="sref">syscall_nr_to_meta3/a>(3a href="+code=syscall" class="sref">syscall3/a>);>v1203/a>>v121opa>        if (!3a href="+code=entry" class="sref">entry3/a>)>v122opa>                goto 3a href="+code=end" class="sref">end3/a>;>v1233/a>>v124opa>        if (3a href="+code=entry" class="sref">entry3/a>->3a href="+code=enter_event" class="sref">enter_event3/a>->3a href="+code=event" class="sref">event3/a>.3a href="+code=type" class="sref">type3/a> !=v3a href="+code=ent" class="sref">ent3/a>->3a href="+code=type" class="sref">type3/a>)v{
v125opa>                3a href="+code=WARN_ON_ONCE" class="sref">WARN_ON_ONCE3/a>(1);>v126opa>                goto 3a href="+code=end" class="sref">end3/a>;>v127opa>        }
v1283/a>>v129opa>        3a href="+code=ret" class="sref">ret3/a> =v3a href="+code=trace_seq_printf" class="sref">trace_seq_printf3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">"%s("entry3/a>->3a href="+code=nam2" class="sref">nam23/a>);>v13        if (!3a href="+code=ret" class="sref">ret3/a>)>v131opa>                return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v1323/a>>v133opa>        for (3a href="+code=i" class="sref">i3/a> =v0; 3a href="+code=i" class="sref">i3/a> < 3a href="+code=entry" class="sref">entry3/a>->3a href="+code=nb_args" class="sref">nb_args3/a>; 3a href="+code=i" class="sref">i3/a>++)v{
v134opa>                3spav class="comment">/* param2ter types */3/spavalv135opa>                if (3a href="+code=trace_flags" class="sref">trace_flags3/a> & 3a href="+code=TRACE_ITER_VERBOSE" class="sref">TRACE_ITER_VERBOSE3/a>)v{
v136opa>                        3a href="+code=ret" class="sref">ret3/a> =v3a href="+code=trace_seq_printf" class="sref">trace_seq_printf3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">"%s "entry3/a>->3a href="+code=types" class="sref">types3/a>[3a href="+code=i" class="sref">i3/a>]);>v137opa>                        if (!3a href="+code=ret" class="sref">ret3/a>)>v138opa>                                return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v139opa>                }
v14                3spav class="comment">/* param2ter 
	  2s */3/spavalv141opa>                3a href="+code=ret" class="sref">ret3/a> =v3a href="+code=trace_seq_printf" class="sref">trace_seq_printf3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">"%s: %lx%s"entry3/a>->3a href="+code=args" class="sref">args3/a>[3a href="+code=i" class="sref">i3/a>],
v142opa>                                       3a href="+code=trace" class="sref">trace3/a>->3a href="+code=args" class="sref">args3/a>[3a href="+code=i" class="sref">i3/a>],
v143opa>                                       3a href="+code=i" class="sref">i3/a> ==v3a href="+code=entry" class="sref">entry3/a>->3a href="+code=nb_args" class="sref">nb_args3/a> - 1 ?v3spav class="string">""", "v144opa>                if (!3a href="+code=ret" class="sref">ret3/a>)>v145opa>                        return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v146opa>        }
v147opa>
v148opa>        3a href="+code=ret" class="sref">ret3/a> =v3a href="+code=trace_seq_putc" class="sref">trace_seq_putc3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">')'v149opa>        if (!3a href="+code=ret" class="sref">ret3/a>)>v15                return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v1513/a>>v152opa>3a href="+code=end" class="sref">end3/a>:>v153opa>        3a href="+code=ret" class="sref">ret3/a> =vv3a href="+code=trace_seq_putc" class="sref">trace_seq_putc3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">'\n'v154opa>        if (!3a href="+code=ret" class="sref">ret3/a>)>v155opa>                return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v1563/a>>v157opa>        return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_TYPE_HANDLED3/a>;>v1583/a>}
v1593/a>>v1603/a>enumv3a href="+code=print_line_t" class="sref">print_line_t3/a>>v1613/a>3a href="+code=print_syscall_exit" class="sref">print_syscall_exit3/a>(structv3a href="+code=trace_iterator" class="sref">trace_iterator3/a> *3a href="+code=iter" class="sref">iter3/a>,vintv3a href="+code=flags" class="sref">flags3/a>,
v162opa>                   structv3a href="+code=trace_event" class="sref">trace_event3/a> *3a href="+code=event" class="sref">event3/a>)>v1633/a>{
v164opa>        structv3a href="+code=trace_seq" class="sref">trace_seq3/a> *3a href="+code=s" class="sref">s3/a> =v&3a href="+code=iter" class="sref">iter3/a>->3a href="+code=seq" class="sref">seq3/a>;>v165opa>        structv3a href="+code=trace_entry" class="sref">trace_entry3/a> *3a href="+code=ent" class="sref">ent3/a> =v3a href="+code=iter" class="sref">iter3/a>->3a href="+code=ent" class="sref">ent3/a>;>v166opa>        structv3a href="+code=syscall_trace_exit" class="sref">syscall_trace_exit3/a> *3a href="+code=trace" class="sref">trace3/a>;>v167opa>        intv3a href="+code=syscall" class="sref">syscall3/a>;>v168opa>        structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=entry" class="sref">entry3/a>;>v169opa>        intv3a href="+code=ret" class="sref">ret3/a>;>v1703/a>>v171opa>        3a href="+code=trace" class="sref">trace3/a> =v(3a href="+code=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=ent" class="sref">ent3/a>;>v172opa>        3a href="+code=syscall" class="sref">syscall3/a> =v3a href="+code=trace" class="sref">trace3/a>->3a href="+code=nr" class="sref">nr3/a>;>v173opa>        3a href="+code=entry" class="sref">entry3/a> =v3a href="+code=syscall_nr_to_meta" class="sref">syscall_nr_to_meta3/a>(3a href="+code=syscall" class="sref">syscall3/a>);>v1743/a>>v175opa>        if (!3a href="+code=entry" class="sref">entry3/a>)v{
v176opa>                3a href="+code=trace_seq_printf" class="sref">trace_seq_printf3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">"\n"v177opa>                return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_TYPE_HANDLED3/a>;>v178opa>        }
v1793/a>>v18        if (3a href="+code=entry" class="sref">entry3/a>->3a href="+code=exit_event" class="sref">exit_event3/a>->3a href="+code=event" class="sref">event3/a>.3a href="+code=type" class="sref">type3/a> !=v3a href="+code=ent" class="sref">ent3/a>->3a href="+code=type" class="sref">type3/a>)v{
v181opa>                3a href="+code=WARN_ON_ONCE" class="sref">WARN_ON_ONCE3/a>(1);>v182opa>                return 3a href="+code=TRACE_TYPE_UNHANDLED" class="sref">TRACE_TYPE_UNHANDLED3/a>;>v183opa>        }
v1843/a>>v185opa>        3a href="+code=ret" class="sref">ret3/a> =v3a href="+code=trace_seq_printf" class="sref">trace_seq_printf3/a>(3a href="+code=s" class="sref">s3/a>,v3spav class="string">"%s -> 0x%lx\n"entry3/a>->3a href="+code=nam2" class="sref">nam23/a>,
v186opa>                                3a href="+code=trace" class="sref">trace3/a>->3a href="+code=ret" class="sref">ret3/a>);>v187opa>        if (!3a href="+code=ret" class="sref">ret3/a>)>v188opa>                return 3a href="+code=TRACE_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PARTIAL_LINE3/a>;>v1893/a>>v19        return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_TYPE_HANDLED3/a>;>v1913/a>}
v1923/a>>v193opa>extern char *3a href="+code=__bad_type_size" class="sref">__bad_type_size3/a>(void);>v1943/a>>v195opa>#define 3a href="+code=SYSCALL_FIELD" class="sref">SYSCALL_FIELD3/a>(3a href="+code=type" class="sref">type3/a>,v3a href="+code=nam2" class="sref">nam23/a>)                                       \>v196opa>        sizeof(3a href="+code=type" class="sref">type3/a>) !=vsizeof(3a href="+code=trace" class="sref">trace3/a>.3a href="+code=nam2" class="sref">nam23/a>) ?                            \>v197opa>                3a href="+code=__bad_type_size" class="sref">__bad_type_size3/a>() :                                     \>v198opa>                #type, #nam2,v3a href="+code=offsetof" class="sref">offsetof3/a>(3a href="+code=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>),v3a href="+code=nam2" class="sref">nam23/a>),            \>v199opa>                sizeof(3a href="+code=trace" class="sref">trace3/a>.3a href="+code=nam2" class="sref">nam23/a>),v3a href="+code=is_signed_type" class="sref">is_signed_type3/a>(3a href="+code=type" class="sref">type3/a>)>v2003/a>>v2013/a>static>v202opa>intvv3a href="+code=__set_enter_print_fmt" class="sref">__set_enter_print_fmt3/a>(structv3a href="+code=syscall_metadata" class="sref">syscall_metadata3/a> *3a href="+code=entry" class="sref">entry3/a>, char *3a href="+code=buf" class="sref">buf3/a>,vintv3a href="+code=len" class="sref">len3/a>)>v2033/a>{
v204opa>        intv3a href="+code=i" class="sref">i3/a>;>v205opa>        intv3a href="+code=pos" class="sref">pos3/a> =v0;>v2063/a>>v207opa>        3spav class="comment">/* When len=0, we just calculate the needed length */3/spavalv2083/a>#define 3a href="+code=LEN_OR_ZERO" class="sref">LEN_OR_ZEROopa> (3a href="+code=len" class="sref">len3/a> ?v3a href="+code=len" class="sref">len3/a> -v3a href="+code=pos" class="sref">pos3/a> : 0)>v2093/a>>v21        3a href="+code=pos" class="sref">pos3/a> +=v3a href="+code=snprintf" class="sref">snprintf3/a>(3a href="+code=buf" class="sref">buf3/a> + 3a href="+code=pos" class="sref">pos3/a>,v3a href="+code=LEN_OR_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav class="string">"\""v211opa>        for (3a href="+code=i" class="sref">i3/a> =v0; 3a href="+code=i" class="sref">i3/a> < 3a href="+code=entry" class="sref">entry3/a>->3a href="+code=nb_args" class="sref">nb_args3/a>; 3a href="+code=i" class="sref">i3/a>++)v{
v212opa>                3a href="+code=pos" class="sref">pos3/a> +=v3a href="+code=snprintf" class="sref">snprintf3/a>(3a href="+code=buf" class="sref">buf3/a> + 3a href="+code=pos" class="sref">pos3/a>,v3a href="+code=LEN_OR_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav class="string">"%s: 0x%%0%zulx%s"v213opa>                                3a href="+code=entry" class="sref">entry3/a>->3a href="+code=args" class="sref">args3/a>[3a href="+code=i" class="sref">i3/a>], sizeof(unsigned long),
v214opa>                                3a href="+code=i" class="sref">i3/a> ==v3a href="+code=entry" class="sref">entry3/a>->3a href="+code=nb_args" class="sref">nb_args3/a> - 1 ?v3spav class="string">""", "v215opa>        }
v216opa>        3a href="+code=pos" class="sref">pos3/a> +=v3a href="+code=snprintf" class="sref">snprintf3/a>(3a href="+code=buf" class="sref">buf3/a> + 3a href="+code=pos" class="sref">pos3/a>,v3a href="+code=LEN_OR_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav class="string">"\""v217opa>
pos3/a> +=2.6L116ref">all"6L126">v82pD32aERO" class="sref">LEN_OR_ZEROopa>,v3spav c" id.6L112" class="line" nam2.6L112">v1122kernel/trace/trace_syref="kernel/trace3opa>                       (="sref">snprint(RECde=bu/a>-&g))ine" nam2.6L139">v139opa>                }
v14             t;, "traceode=i" class="sref">i3/a>], sizeof(unsigned" id.6L112" class="line" nam2.6L112">v1122_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PA2call_nr_t2_meta3/a>(3a href="+code2sysca2l" cla#u
all"6L126">v82pD32_PARTIAL_LINE" class="sref">TRACE_TYPE_PA2ca> + 3a hsyscalls.c#L120" id.6L122" cla22"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_2race_sysc2lls.c#L123" id.6L123" cl2ss="l2ne" nam2.6L123="line" nam2.6L203">v2033trace_sce_s.c#L204of ce3/a>.3a4" id.6L204" class="line" nam2.6L204">v204opa>      a href="+2ode=entry" class="sref">2ntry322ll_match_sym_nam23/a>(3a href="+cods.cti     3a href="+code=;, "typ22sref">nam23/a>))>type2/a>)v2
v225opa22t3/a>;
TRACE_ href="+code=trace" clas eef">TRACE_ href="+c href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i2ace/trace2syscalls.c#L128" id.6L122" cla23="sref">print_syscall_enter3/a>(structv3a href=2.6L129">v229opa>        3a href="+2ode=r2t" class="sref class="sref">type3/a href="+code=trace" clas href="+c hre;, "nam23/a>);><2 href2"kernel/trace/="+code=nam2" class="sref">nam23/a>),v3a href="+code=is_signed_type" class="sref">is_signed_type3/a>(3a href="+code=typrnel/trace/trace_sode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_syscalls.c#L84" id.6L84" class="line" nam2.6L842 class="s2ef">TRACE_TYPE_PARTIAL_L2NE3/a23"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_2race_sysc2lls.c#L133" id.6L133" cl2ss="l23="sref">trace3/a>">v139opa>                }
v121opa>     YPE_HANDLED3/a>;>LEN_OR_ZEROopa>,v3spav cf">nb_arg23/a>; 3a href="+code=i" 2lass=2sref">i3/a>++)v{
TRACE_TY        RECde=bunamine" nam2.6L1lls.c#L84" id.6L84" class="line" nam2.6L842 ce_syscal>)v{
entry3/a>, char *3a h>ret3/a> 2v3a href="+code=trace_se2_prin23/trace_syscalls.c#L176" id.6L176" class="line" nam2.6L12->3a h2ef="+code=types" class="2ref">23L207" class="line" nam2.6L207">v207opa>        trace/tra2e_syscalls.c#L137" id.6L237" c2ass="line" nam="line" nam2.6L203">v2033First:l/trl>sn*3/sp0s.c#L204tol/trace/trace_syscalls.c#L204" id.6L204" class="line" nam2.6L204">v204opa>      el/trace/2race_syscalls.c#L138" id26L13824alls.c#L168" id.6L168" classsref">pos3/a> =v0;>trace3/a>.3a href"sref">is_signed_type3/a>(3a href="+code=type""sref">is_signels.c#L86" id.6L86" class="lin0t;, "TRACE_TYPE_PA23/a>,v3sp2v class="string">"&237;s:24href="+code=trace" class="sr href="+code=trace" clas href="+c hrernelace" class="srkm_TYo15         km_TYo1 href"sref">is_signesref">pos3/a> =v0;>is_signeGFP_KERNEc#L86" id.6L86" GFP_KERNEc/a>;>;, "->3a href="+code=ar2s" cl2ss="sref">argsf="+code=s" class="s href="+code=trace" clas href="+c hre>ef="kernel/trace/trace_syscalls.c#L125" i23" class=2line" nam2.6L143">v143op2>    2                      nam23/a-ode=s" class="sENOMEMode=trace" clasENOMEMyscalls.c#L84" id.6L84" class="line" nam2.6L842nb_args3/2> - 1 ?v3spav class="str2ng">&243a href="+code=len" class="sref">len3/a>)><2 href="kernel/trace/trac2_sysc24.6L203" class="line" nam2.6L203">v2033Second: actua>)y writrace_s@ce3/a>.3a4" id.6L204" class="line" nam2.6L204">v204opa>      144opa>  2             if (!3a hre2="+co2e=ret" class="sref">ret3/a>)> clsizeof(3a href="+code=trace" class="sref">trace3/a>.3a href"sref">is_signed_type3/a>(3a href="+code=type""sref">is_signe href="+code=trace" clas href="+c hree""sref">is_signesref">pos3/a> =v0;>;, "type3/a href="+code=trace" clas href="+c hre;, "v147opa>
<2 href25a>(3a href="+code=trace" class="sref">trace3/a>seq_putc"2class="sref">trace_seq_p2tc3/a25alls.c#L168" nam23/ade=entry" class="sref">entry3/a>, char *3a hss="strin2">')'<2 href2"kernels.c#L176" id.6L176" class="line" nam2.6L12f (!3a hr2f="+code=ret" class="sre2">ret25" class="sref">syscall3/a>);>>TRACE_ href="+code=trace" clasfreef">TRACE_ href="+c href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i2ode=end" 2lass="sref">end3/a>:>LEN_OR_ZEROopa>,v3spav ceq_putc" 2lass="sref">trace_seq_pu2c3/a>25code=s" class="sref">s3/a> =v&3a href="23/a>),v3a href="+code=is_signed_type" class="sref">is_signed_type3/a>(3a href="+code=typrnel/trace/trace_sode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_syscalls.c#L84" id.6L84" class="line" nam2.6L842s="string2>'\n'<2 href25" nam2.6L215">v215opa>        }
argsf="+">v139opa>                }
v121opa>     Ys="string">"&ode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i2o>3a h2     return 3a href="+co2e=TRA25>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls href="+code=trace" clas href="+c hre>;, "v127opa>263a href="+code=s" class="sref">s3/a>,v3spav cl2ace/trace2syscalls.c#L160" id.6L162" cla2s="lin;
TRACE_T>v121ref="k_field        return 3a>TRACE_T>v121ref="k_field  href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i23/a>3a hr2f="+code=print_syscall_e2it" c2ass="sref">print_syscall_exit3/a>(structv3a href2"+code=tr2ce_iterator" class="sref2>trac2_iterator3/a> *3a href="+code=iter" iter3/a>->3ater" class="sref">iter3/a>->3a href="+cof="+code=iter" >3 class="sref">i>3yscalls.c#L84" id.6L84" class="line" nam2.6L842" class="2ref">trace_event3/a> *3a2href=2+code=event" class="sref">event3/a>)a href="23/a>),v3a href="+code=is_signed_type" class="sref">is_signea>(3a href="+code=tref">trarnel/trace/trace_sode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_syscalls.c#L84" id.6L84" class="line" nam2.6L842eq" class2"sref">trace_seq3/a> *3a2href=2+code=s" classcode=trace" class="sref">trace3/a>;>v165opa>  2     2tructv3a href="+code=trace_entry"vv3a href="+code=__set_enter_print_fmt" class="sref">__set_enter href="+c2de=iter" class="sref">it2r3/a>2>3a href="+"+code=trace_entry") !=vsv3a href="+code) !=vs>trarnel/trace/trace_s" class="sref">type3/a>) !=vsizeof(3a href="+code=trace" class="sref">trace3/a>.3a href="+code=nam2" class="sref">nam23/a>) ?                    .c#L140" id.6L140" class="l>;, "syscall_trace2exit326L207" class="line" nam2.6L207">v207opa>        67" class2"line" nam2.6L167">v167o2a>   27st calculate the needed leng_ONCE3/a>(1);>nam23/a>)lref="k_field href"sref">is_signeode=ent" class="sreent3/a>;                 " class="line" nam2.6L191">v1913/a>}
>;, "trace3/a>the needed leng_ONCE3/a>(1);>v169op2>    27/a>->3a href="+code=exit_event" class="ssref">trace3/a>;>v171opa>   2    327" class="sref">syscall3/a>);>v1727iterator3/a> m2.6L216">v216opa>        3a href="+code=pos" class="sref">pos3/a> +=v3a href="+code=snprintf" class="sra>(3a href="+code=tref">trade=buf" class="sref">buf3/a> + 3a href="+code=pos" class="sref">pos3/a>,v3a href="+code=LEN_OR_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav c>syscall32a> =v3a href="+code=trac2" cla27                     the needed leng_ONCE3/a>(1);>nam23/a>)lref="k_field href"sref">is_signeode=ent" class="sreent3/a>;                 a>(3a href="+code=tref">trade=buf" class="sref"ode=trace_flags" class="sref">trace_flags3/a> & 3a href="+code=aERO" class="sref">LEN_OR_ZEROopa>,v3spav cid.6L173"2class="line" nam2.6L173"2v173o2a>        3a href="+coooooooooooooooooooooooooo               a>(3a href="+code=tref">trade=buf" class="sref"a href="+code=pos" class="sref">pos3/a> +=v3a href="+code=snprintf"de=trace_entry") !=vsv3a href="+code) !=vs>traaERO" class="sref">LEN_OR_ZEROopa>,v3spav ciass="lin2 id.6L174" class="line" 2am2.62174">v1743/a>>snprintf 0aERO" class="sref">LEN_OR_ZEROopa>,v3spav cihref="+c2try3/a>)v{
trace_seq_printf3/a>(3ooooooooo               FILlassOTHER703/a>>;, "trar+== class="sref">snprint;, "s3/a>,v3spav cl2(3a href=2+code=entry" class="sref2>entr23/a>->3a hre=exit_event" class="ssref">trace3/a>;>type3/a>2!=v3a href="+code=ent" c2ass="2ref">els.c#L176" id.6L176" class="line" nam2.6L12/ id.6L172ref="kernel/trace/trace_2yscal2s.c#L181" id.6L181" class="line" nam2.6L181">v121opa>    2           3a href="+cod2=WARN2ON_ONC;
TRACE_T"linref="k_field        return 3a>TRACE_T"linref="k_field  href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i2ls.c#L1842 id.6L184" class="line" 2am2.62184">vZERO" class="sref">LEN_OR_ZEROopa>,v3spav cce_seq_pr2ntf" class="sref">trace_2eq_pr2ntf3/a>(3a hre="sref">s3/a> =v&3a href="+code=iter" class="sref">iter3/a>->3a href="+f="+code=iter" >3 class="sref">i>3yscalls.c#L84" id.6L84" class="line" nam2.6L842;trace3/a>;>>3a h2                    3a h2ef="+2ode=trace" class="sref">trace3/a>->3a href="2code=ret"2class="sref">ret3/a>);><2 href29st calculate the needed leng_ONCE3/a>(1);>nam23/a>)lref="k_field href"sref">is_signeode=ent" class="sreent3/a>;                 " class="line" nam2.6L191">v1913/a>}
>;, "trace3/a>the needed leng_ONCE3/a>(1);>trace3/a>;>;>syscall3/a>);>nam23/a>)lref="k_field href"sref">is_signeode=ent" class="sreent3/a>;                 " class="line" nam2.6L191">v1913/a>}
aERO" class="sref">LEN_OR_ZEROopa>,v3spav cYPE_HANDL2D3/a>;>;, "len3/a>)>trace3/a>;>v155opa>2L197">v192opa>                3a h2ef="+29de=trace" class="sref">trace3/a>->3a href="3 href="+c3de=typeof" class="sref">3ypeof3/a>(3a/trae=nam2" class="sf3/a>->3a h3ater" class="sref">if3/a>->3a h3ater"ref="/trae="sref">is_signeef"or98" class="line" f"or9/a>;  ="sref">s3/a> =v&3pt_rehref="+code=pos" pt_rehrclass="sref">is_signerehref="+code=pos" rehrclas,nprinss="sref">pos3/a>dass="sref">nam2id="ke>ef="kernel/trace/trace_syscalls.c#L125" i3),v3a hre3="+code=nam2" class="sre3">nam33/a>),ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 3ls.c#L1993 id.6L199" class="line" 3am2.630/a>->3a hr*3a href="+code=iter" iter3/a>->3ater" class="sref">iter3/a>->3a href="+co="sref">is_signed_type3/a>(3a href="+code=typ"kernel/trace/trace_syscalls.c#L167" id.6L3trace_sys3alls.c#L201" id.6L201" c3ass="30kernel/trace/="+code=nam2" class="sref">nam23/a>),v3a href="+code=is_signed_type" class="sref">is_signeis__>),v3a href="+code=is__ce_syscalls.c#L84" id.6L84" class="line" nam2.6L843race/trac3_syscalls.c#L202" id.6L232" cl30iterator3/a> *3a href="+code=iter" pava_buffclass="line" nam2.6L121pava_buffclass="l="+co="sref">is_signed         return 3a href="+colls.c#L84" id.6L84" class="line" nam2.6L843r5ce/trac3_3/a>;>event3/a>)pava_buffcline" nam2.6L121pava_buffcl="+co="sref">is_signebuffcline" nam2.6L121buffcl="+clls.c#L84" id.6L84" class="line" nam2.6L843r6ce/trac3_*3a href="+code=__bad_t3>,vin30code=s" classcode=trace" class="pe3/a>,v3a href="+class="srlls.c#L84" id.6L84" class="line" nam2.6L843r7ce/trac3_ALL_FIELD" class="sref"3203" 30ructv3a href="+code=trace_entry" class=_ 1703/a>>i3/30tyget_ 1703/a>>is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, "/* When len=3, we 31v3spav class="string">"\n&q class=_ 1703/a>>v2063/a>>v179trace_;, "pos3/a>,v3a href="+3ode=L3N_OR_ZERO" claf="+code=s" class="stest_ber" class="sref">test_ber href"sref">is_signe class=_ 1703/a>>v139opa>       abled_T>v121rnel/trae3/a>(3a href="+cabled_T>v121rnel/traclas>" class="line" nam2.6L206">v2063/a>>i3/a>++3v{
p31.c#L181" id.6L181" class="line" nam2.6L181">v13;3a href=3+code=args" class="sref"3args33a>[3a href="+c"sref">is_signeis__>),v3a href="+code=is__ce_syscade=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=_ 1703/a>>v2063/a>>"\""<3spava31" class="linel/trace/trace_s e3/a>,v3a href="+class="sr == class=="sref">is_signed_type3/a>(3a href="+code=typ) += class="sref">snprint *c"sref">is_signeis__>),v3a href="+code=is__ce_syscade=buf" class="sref">buf3/a> + 3a href="+code=pos" claef="kernel/trace/trace_syscalls.c#L125" i3" id.6L113" class="line" nam2.6L113">v1132a>(3a href="+code=trace" class="sref">trace3/a3>syscall33a> =v3a href="+code=trac3" cla32alls.c#L168" id.6L168" classd         return 3a href="+cornel/trace/trace_syscallourr   _buffclalock_reserv3 class="sref">i>3lourr   _buffclalock_reserv3>tracef="kernel/trace/trabuffcline" nam2.6L121buffcl="+caERO" class="sref">LEN_OR_ZEROopa>,v3spav 3" id.6L113" class="line" nam2.6L113">v1132="line" nam2.6L160">v160f="+c"sref">is_signeis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls1" class="line" nam2.6L121">v121opa>     L177">v177opa>                return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_T39">v139opa>      e3/a>,v3a href="+class="srf 0an0t;, "v163ca> + 3a 3syscalls.c#L120" id.6L123" cla323/a>,v3a href="+code=nam23/;, "3ntry332ls.c#L214" id.6L214" class="d_type3/a>(3a href="+code=typrnel/trace/trace_spava_buffclass="l_>),v3a href="+code=pava_buffclass="l_>),v>trace3/a>))3a href=nel/trace/trace_syscalls.c#L16;, "typ327s.c#L214" id.6L214" class="d_type3/a>(3a href="+code=typ="line" nam2.6L170">v1703/a>>type703/a>>type3/a>)v32=ret" class="sref">ret3/a>)> class=_get_=pou03">        return 3a>TRACE_get_=pou03">  href"sref">is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclasf 0an"sref">is_signeis__>),v3a href="+code=is__ce_syscade=buf" class="sref">buf3/a> + 3a href="+code=pos" cl39">v139opa>                }
v325opa32de=trace" class="sref">trace3/a>->3a href="3ace/trace3syscalls.c#L128" id.6L123" cla33v3spav class="strcode=s" class="sfilv121ourr   _check_di;3ardass="sref">nam2filv121ourr   _check_di;3ard href"sref">is_signebuffcline" nam2.6L121buffcl="+cac"sref">is_signeis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls1" class="line" nam2.6L121">v121opa>     aERO" class="sref">LEN_OR_ZEROopa>,v3spav 3.6L129">v329opa>        3a href="+3ode=r33ine" nam2.6L179">v17999999999999999999999999999">v139opa>                }
v139opa>      el/trace/trace_syscalls.c#L1661" id.6L161" class="line" nam2.6L161">v163"!s("vl/trace/trace_syscallourr   _buffclaunlock_6L20er" class="sref">tscallourr   _buffclaunlock_6L20er href"sref">is_signebuffcline" nam2.6L121buffcl="+cac"sref">is_signe el/trace/trace_syscalls.c#L1f 0an0t;, "nam23/a>);><3 href33ef">els.c#L176" id.6L176" class="line" nam2.6L13 class="s3ef">TRACE_TYPE_PARTIAL_L3NE3/a33"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_3race_sysc3lls.c#L133" id.6L133" cl3ss="l33="sre/trae=nam2" class="sf3/a>->3a h3ater" class="sref">f3/a>->3a h3aterref="/trae="sref">is_signeef"or98" class="line" f"or9/a>;  ="sref">s3/a> =v&3pt_rehref="+code=pos" pt_rehrclass="sref">is_signerehref="+code=pos" rehrclas,nprinss="sref">pos3/a_ONCE3/a>(1);>nb_arg33/a>; 3a href="+code=i" 3lass=3384">vZERO" class="sref">LEN_OR_ZEROopa>,v3spav 3 ce_sysca3>)v{
s3/a> =v&3a href="+code=iter" class="sref">iter3/a>->3a href="+="sref">is_signed_type3/a>(3a href="+code=typ"kernel/trace/trace_syscalls.c#L167" id.6L3>ret3/a> 3v3a href="+code=trace_se3_prin33gt;3a href="+code=ent" class="sref">ent3/a>;>),v3a href="+code=is__ce_syscalls.c#L84" id.6L84" class="line" nam2.6L843->3a h3ef="+code=types" class="3ref">339t;3a href="+code=ent" class="sref"pava_buffclass="line" nam2.6L121pava_buffclass="l="+co="sref">is_signed         return 3a href="+colls.c#L84" id.6L84" class="line" nam2.6L843trace/tra3e_syscalls.c#L137" id.6L337" c3ass="line" namlass="sref">event3/a>)pava_buffcline" nam2.6L121pava_buffcl="+co="sref">is_signebuffcline" nam2.6L121buffcl="+clls.c#L84" id.6L84" class="line" nam2.6L843el/trace/3race_syscalls.c#L138" id36L13834alls.c#L168" "+code=trace_entry" class=_ 1703/a>>TRACE_TYPE_PA33/a>,v3sp3v class="string">"&337;s:34href="+code=trace" class="sr class=_ 1703/a>>tyget_ 1703/a>>is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, "->3a href="+code=ar3s" cl3ss="sref">argsf="+ing">"\n&q class=_ 1703/a>>v2063/a>>v143op3>    3                      nam23/;, "nb_arg3> - 1 ?v3spav class="str3ng">&34ls.c#L214" idf="+code=s" class="stest_ber" class="sref">test_ber href"sref">is_signe class=_ 1703/a>>v139opa>       abled_T"linrnel/trae3/a>(3a href="+cabled_T"linrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v163spava);><3 href="kernel/trace/trac3_sysc34_syscalls.c#L136" id.nam23/;, "typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=_ 1703/a>>v147opa>
<3 href35v3spav class="strcode=s" class="sis__>),v3a href="+code=is__ce_sysca" class="line" nam2.6L206">v2063/a>>trace_seq_p3tc3/a35ine" nam2.6L179">v179trace_;, "')'<3 href35_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PA3f (!3a hr3f="+code=ret" class="sre3">ret35href="+code=trace" class="srd         return 3a href="+cornel/trace/trace_syscallourr   _buffclalock_reserv3 class="sref">i>3lourr   _buffclalock_reserv3>tracef="kernel/trace/trabuffcline" nam2.6L121buffcl="+caERO" class="sref">LEN_OR_ZEROopa>,v3spav 3id.6L151"3class="line" nam2.6L151"3v1513353/a>,v3a href="+code=LEN_OR_Z"sref">is_signeis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls1"lind         return 3a h"lind        L177">v177opa>                return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_T39 class=="sref">is_signed_type3/a>(3a href="+code=typ)f 0an0t;, "end3/a>:>trace3/a>code=s" class="snel/trace/trace_syscalls.c#L161" id.6L161" class="line" nam2.6L161">v163eq_putc" 3lass="sref">trace_seq_pu3c3/a>35>        3a href="+cotrace_;, "v215opa>        }
ret3/a>)>d_type3/a>(3a href="+code=typrnel/trace/trace_spava_buffclass="l_>),v3a href="+code=pava_buffclass="l_>),v>trace3/a>))3a href=nel/trace/trace_syscalls.c#L16;, "v1703/a>>type703/a>>;>_ONCE3/a>(1);>is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, "v137opa>363a href="+code=s" class="sref">s3/a>,v3spav cl3ace/trace3syscalls.c#L160" id.6L163" cla36_OR_ZERO" claf="+code=s" class="sfilv121ourr   _check_di;3ardass="sref">nam2filv121ourr   _check_di;3ard href"sref">is_signebuffcline" nam2.6L121buffcl="+cac"sref">is_signeis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls1"lind         return 3a h"lind        aERO" class="sref">LEN_OR_ZEROopa>,v3spav 33/a>3a hr3f="+code=print_syscall_e3it" c36ref="kernel/trace/trace_syscalls.c#L2e=LEN_OR_Z"sref">is_signe           }
v139opa>      el/trace/trace_syscalls.c#L1661" id.6L161" class="line" nam2.6L161">v163"+code=tr3ce_iterator" class="sref3>trac363/a>,v3a href="+code=l/trace/trace_syscallourr   _buffclaunlock_6L20er" class="sref">tscallourr   _buffclaunlock_6L20er href"sref">is_signebuffcline" nam2.6L121buffcl="+cac"sref">is_signe el/trace/trace_syscalls.c#L1f 0an0t;, "trace_event3/a> *3a3href=3+code=ls.c#L176" id.6L176" class="line" nam2.6L13eq" class3"sref">trace_seq3/a> *3a3href=363a href="+code=len" class="sref">len3/a>)>v165opa>  3     3tructv"+code=trace_entry"srgass="l_gt;3a h3ater" class="sref">isrgass="l_gt;3a h3ater" href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i3 href="+c3de=iter" class="sref">it3r3/a>3>3aZERO" class="sref">LEN_OR_ZEROopa>,v3spav 3T>3a h3ass="sref">syscall_trace3exit336" class="line"+code=trace_entry"sref">trace3/a>;>entry3/a>, char *3a 367" class3"line" nam2.6L167">v167o3a>   37st calculate "+code=trace_entry"num703/a>>;3s3/a>,v3spav cl39" class=3line" nam2.6L169">v169op3>    37/a>->3a hrde=trace_entry"num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>v171opa>   3    3373s.c#L214" idf="+/trace_syscallsWARN_ON_ONCE703/a>>is_signenum703/a>>>(3a href="NRnrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v163" id.6L173" class="line" nam2.6L173">v17373/a>,v3a href="+code=nam23/a-ode=s" class="sENOSYSe3/a>(3a href="ENOSYS="srlls.c#L84" id.6L84" class="line" nam2.6L843a class="3a> =v3a href="+code=trac3" cla37>[3a href="+c"sref">is_signemutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "iter_s" count3ater"/a>;>ef="kernel/trace/trace_syscalls.c#L125" i3iass="lin3 id.6L174" class="line" 3am2.63174">v1743/a>>_ONCE3/a>(1);>isrgisv121syscalls.3ater" href"sref">is_signef3/a>->3a h3ater" class="sref">if3/a>->3a h3ater"ref=e""sref">is_signels.c#L86" id.6L86" class="l>;, ")v{
argsf="+code=s" class="s_ONCE3/a>(1);>LEN_OR_ZEROopa>,v3spav 3c>3a h3>                3a href3"+cod37>"sreber href"sref">is_signenum703/a>>v139opa>       abled_T>v121rnel/trae3/a>(3a href="+cabled_T>v121rnel/traclas>;, "iter_s" count3ater"/a>;++;, "traceode=i" class="sref">i3/a>], sizeof(unsigne3(3a href=3+code=entry" class="sref3>entr38/a>->3a hrde=trace_entry"mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "trace3/a>;>i3/a>], sizeof(unsigne3( class="3           3a href="+cod3=WARN38e" na, "v/trae=nam2" class="sunsrgass="l_gt;3a h3ater" class="sref">iunsrgass="l_gt;3a h3ater" href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i3ce_seq_pr3ntf" class="sref">trace_3eq_pr3ntf3/aZERO" class="sref">LEN_OR_ZEROopa>,v3spav 3;>>3a h3                    3a h3ef="+3ode=trace" class="sref">trace3/a>->3a href="3code=ret"3class="sref">ret3/a>);><3 href39st calculate the needed lengnum703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>trace3/a>->3a href="3call3/a>;3kernel/trace/trace_sysca3ls.c#39="sref">trace3/a>the needed lengWARN_ON_ONCE703/a>>is_signenum703/a>>>(3a href="NRnrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v163         3     return 3a href="+co3e=TRA39/a>->3a href="+code=exitllse" class="sref">trace3/a>->3a href="3ctype3/a>3/a>;>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "iter_s" count3ater"/a>;--;, ";>is_signecleareber" class="sref">cleareber href"sref">is_signenum703/a>>v139opa>       abled_T>v121rnel/trae3/a>(3a href="+cabled_T>v121rnel/traclas>;, "iter_s" count3ater"/a>;>ef="kernel/trace/trace_syscalls.c#L125" i3"+code=SY3CALL_FIELD" class="sref"3SYSCA3974">v1743/a>>unsrgisv121syscalls.3ater" class="sref">iunsrgisv121syscalls.3ater" href"sref">is_signef3/a>->3a h3ater" class="sref">if3/a>->3a h3ater"ref=e""sref">is_signels.c#L86" id.6L86" class="l>;, "ret3/a>)>mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "v193opa>                3a h3ef="+39de=trode=i" class="sref">i3/a>], sizeof(unsigne4 href="+c4de=typeof" class="sref">4ypeof40a>(3a href="+code=trace" class="sref">trace3/a4),v3a hre4="+code=nam2" class="sre4">nam43/a>),"+code=trace_entry"srgass="l_gt;3a h3ater" class="sref">srgass="l_gt;3a h3ater href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i4ls.c#L1994 id.6L199" class="line" 4am2.640/a>-&ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4trace_sys4alls.c#L201" id.6L201" c4ass="40kernel/trace/"+code=trace_entry"sref">trace3/a>;>entry3/a>, char *3a 4race/trac4_syscalls.c#L202" id.6L242" cl40iterator3/a> "+code=trace_entry"num703/a>>;>,vin40ls.c#L214" id.6L214" class="num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>is_signenum703/a>>>(3a href="NRnrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v1"428ce/trac4_96" id.6L196" class="li4">i3/40" class="sref">trace_nam23/a-ode=s" class="sENOSYSe3/a>(3a href="ENOSYS="srlls.c#L84" id.6L84" class="line" nam2.6L844="kernel/4race/trace_syscalls.c#L247" id40" class="linel/trace/trace_smutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "/* When len=4, we 41v3spav class="strcode=s" class="sis__s" count3ater" class="sref">ite_s" count3ater/a>;>ef="kernel/trace/trace_syscalls.c#L125" i4/trace/tr4ce_syscalls.c#L209" id.64209" 41ine" nam2.6L179">v179e" nam2.6L170">_ONCE3/a>(1);>srgisv121syscalls.3ater href"sref">is_signef3/a>->3a h3ater" class="sref">f3/a>->3a h3aterref=e""sref">is_signels.c#L86" id.6L86" class="l>;, "pos3/a>,v3a href="+4ode=L4N_OR_ZERO" claf="+code=s" class="s_ONCE3/a>(1);>LEN_OR_ZEROopa>,v3spav 4/race_sys4=i" class="sref">i3/a>++4v{
"sreber href"sref">is_signenum703/a>>v139opa>       abled_T"linrnel/trae3/a>(3a href="+cabled_T"linrnel/trac#L16;, "p413/a>,v3a href="+code=l/trace/trace_sis__s" count3ater" class="sref">ite_s" count3ater/a>;++;, "[3a href="+code=i" class="sref">i3/a>], sizeof(unsigne436ce/trac4 href="kernel/trace/trac4_sysc41ls.c#L214" id.6L214" class="mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "trace3/a>;>v155opa>4lass="str4ng">"\""<4spava41de=trace" class="sref">trace3/a>->3a href="4" id.6L114" class="line" nam2.6L114">v1142a>(3a/trae=nam2" class="sunsrgass="l_gt;3a h3ater" class="sref">unsrgass="l_gt;3a h3ater href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i4>syscall34a> =v3a href="+code=trac4" cla42/a>),ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4" id.6L114" class="line" nam2.6L114">v1142="line" nam2."+code=trace_entry"num703/a>>(3a href="+code4sysca42" class="sref">syscall3/a>);>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>trace3/a>the needed lengWARN_ON_ONCE703/a>>is_signenum703/a>>>(3a href="NRnrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v1"4r6ce/trac4ode=entry" class="sref">4ntry342>        3a href="+cotrace_;, "typ427s.c#L214" id.6L214" class="mutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "type4/a>)v42=ret" class="sref">ret3/a>)> cl_s" count3ater" class="sref">ite_s" count3ater/a>;--;, "v425opa42" class="linel/trace/trace_scleareber" class="sref">cleareber href"sref">is_signenum703/a>>v139opa>       abled_T"linrnel/trae3/a>(3a href="+cabled_T"linrnel/trac#L16;, "ite_s" count3ater/a>;>ef="kernel/trace/trace_syscalls.c#L125" i4.6L129">v429opa>        3a href="+4ode=r43ine" nam2.6L179">v179e" nam2.6L170">unsrgisv121syscalls.3ater" class="sref">unsrgisv121syscalls.3ater href"sref">is_signef3/a>->3a h3ater" class="sref">f3/a>->3a h3aterref=e""sref">is_signels.c#L86" id.6L86" class="l>;, "->3a hrde=trace_entry"mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "nam23/a>);><4 href43ef">els.c#L176" id.6L176" class="line" nam2.6L14 class="s4ef">TRACE_TYPE_PARTIAL_L4NE3/a43"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_4race_sysc4lls.c#L133" id.6L133" cl4ss="l43="sre"+code=trace_entry"inlinrnel/tr>->e3/a>(3a href="inlinrnel/tr>-> href="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i4f">nb_arg43/a>; 3a href="+code=i" 4lass=4384">vZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4 ce_sysca4>)v{
dass="sref">nam2id="ke;, ">43de=trace" class="sref">trace3/a>->3a href="4trace/tra4e_syscalls.c#L137" id.6L437" c44st calculate the needed lengnum703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>trace3/a>the needed lengnum703/a>>>(3a href="NRnrnel/trac#L16_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4s */3/spa4alvl/trace/trace_spr_debuge3/a>(3a href="pr_debug href"span3/a>(3a htpava">"opa>,v3 %s yscalls. not mapped, disablava fsysca href=\n"LEN_OR_ZEROopa>,v3spav 43/a>,v3sp4v class="string">"&437;s:44ref="kernel/trace/trace_syscalls.c#L2(f="+code=nam2" class="s>ent3/a>;>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscalls&quo703/a>>,v3a href="+code=nam23/a-ode=s" class="sENOSYSe3/a>(3a href="ENOSYS="srlls.c#L84" id.6L84" class="line" nam2.6L8443" class=4line" nam2.6L143">v143op4>    44>[3a href="+code=i" class="sref">i3/a>], sizeof(unsigne4s">nb_arg4> - 1 ?v3spav class="str4ng">&443a href="+code=len" class="sref">len3/a>)><4 href="kernel/trace/trac4_sysc44ructv3a href="/a>the needed leng"sre/trace_sppavt_fmr" class="sref">"sre/trace_sppavt_fmr href"sref">is_signeode=ent" class="sreent3/a>;>d=snpr6" class="line" nam2.6L206">v2063/a>>  4             if (!3a hre4="+co44" class="sref">trace_nam23/a-ode=s" class="sENOMEMe3/a>(3a href="ENOMEM="srlls.c#L84" id.6L84" class="line" nam2.6L8443>3a h4/trace_syscalls.c#L146" 4d.6L144de=trace" class="sref">trace3/a>->3a href="4lass="lin4" nam2.6L147">v147opa>
<4 href45st calculate the needed leng>dass="sref">nam2id="kernel/trace/trace_syscallhref=_raw_inliass="sref">nam2yscallhref=_raw_inli href"sref">is_signeode=ent" class="sreent3/a>;>lls.c#L84" id.6L84" class="line" nam2.6L844seq_putc"4class="sref">trace_seq_p4tc3/a453a href="+code=s" class="sref">s3/a>,v3spav cl4ss="strin4">')'<4 href45_OR_ZERO" claf="+the needed leng>dass="sref">nam2id="ker=snpr6"_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4f (!3a hr4f="+code=ret" class="sre4">ret45ref="kernel/trace/trae/trace_syscallfreee/trace_sppavt_fmr" class="sref">freee/trace_sppavt_fmr href"sref">is_signeode=ent" class="sreent3/a>;>lls.c#L84" id.6L84" class="line" nam2.6L844sclass="s4class="line" nam2.6L151"4v1513453/a>,v3a href="+code=trace_syscalls.c#L154">dass="sref">nam2id="ke;, "end3/a>:>i3/a>], sizeof(unsigne4eq_putc" 4lass="sref">trace_seq_pu4c3/a>453a href="+code=len" class="sref">len3/a>)><4>'\n'<4 href45kernel/trace/trace_syscalls.c#L154">dass="sref">nam2id="ke;, "v155opa>4o>3a h4     return 3a href="+co4e=TRA45de=trace" class="sref">trace3/a>->3a href="4TIAL_LINE4/a>;>snprinsyscalls.c#L154"__inliass="sref">nam2__inli hresyscalls.c#L154"__weake3/a>(3a href="__weak hresyscalls.c#L154"arche/trace_sadde703/a>>>trace3/a>->3a href="4Teq_putc"4ss="line" nam2.6L157">v147opa>46/a>),ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4ace/trace4syscalls.c#L160" id.6L164" cla46_OR_ZERO" clatrace_s="sref">snprintode=s" class="sis__l/tr>-able" class="sref">ite_l/tr>-ableOR_Z[de=trace_entry"n1703/a>>3a hr4f="+code=print_syscall_e4it" c46ef">els.c#L176" id.6L176" class="line" nam2.6L14"+code=tr4ce_iterator" class="sref4>trac46"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_4" class="4ref">trace_event3/a> *3a4href=46="sre"+code=trace_entry"__inliass="sref">nam2__inli hresyscalls.c#L154"inlinf3/a>->3a hae3/a>(3a href="inlinf3/a>->3a ha href/tra ace" class="sref">trace3/a>->3a href="4Tq_putc" 4"sref">trace_seq3/a> *3a4href=4684">vZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4lass="lin4" nam2.6L165">v165opa>  4     46tf3/a>(3a hre="sref">s3/a> =v&3a href=";>(3a href="+code=tref">tra;, "it4r3/a>46" class="sref"sref">snprinsyscalls.c#L154"adde703/a>>syscall_trace4exit346" class="line"+code=trace_entry"ie3/a>(3a href="i hre;, "v167o4a>   47a>(3a href="+code=trace" class="sref">trace3/a4call3/a>;4trac";>is_signeNRnrnel/trae3/a>(3a href="NRnrnel/trac#L139 class=="sref">is_signeef">trac";>LEN_OR_ZEROopa>,v3spav 49" class=4line" nam2.6L169">v169op4>    47="line" nam2.6L160">vvvvvvvvvvvvvvvvvvvvv"sref">is_signeGFP_KERNEc#L86" id.6L86" GFP_KERNEc/a>;>lls.c#L84" id.6L84" class="line" nam2.6L844ass="line4 nam2.6L171">v171opa>   4    3473s.c#L214" idf="+code=s" class="sis_>trac";>LEN_OR_ZEROopa>,v3spav 4" id.6L174" class="line" nam2.6L174">v17473/a>,v3a href="+code=the needed lengWARN_ON703/a>>lls.c#L84" id.6L84" class="line" nam2.6L844a class="4a> =v3a href="+code=trac4" cla47                     nam23/a-ode=s" class="sENOMEMe3/a>(3a href="ENOMEM="srlls.c#L84" id.6L84" class="line" nam2.6L844id.6L173"4class="line" nam2.6L173"4v173o47ls.c#L214" idls.c#L176" id.6L176" class="line" nam2.6L14iass="lin4 id.6L174" class="line" 4am2.647" nam2.6L215">v215opa>        }
)v{
argsfor"+the needed leng>e3/a>(3a href="i hre+codeode=trace_entry"ie3/a>(3a href="i hrer=snpr"sref">is_signeNRnrnel/trae3/a>(3a href="NRnrnel/trac#L1eode=trace_entry"ie3/a>(3a href="i hre++)_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 4">3a h4>                3a href4"+cod47>(3a href="i hre>lls.c#L84" id.6L84" class="line" nam2.6L8443/a>(3a h4ef="+code=s" class="sref4>s3/a48kernel/trace/trace_syode=s" class="sa>(3a href="+code=tref">tra6nel/trace/trace_sfind_/trace_sysca" class="sref">find_/trace_sysca hrefde=trace_entry"adde703/a>>lls.c#L84" id.6L84" class="line" nam2.6L8443all3/a>;4calls.c#L179" id.6L179" 4lass=48ine" nam2.6L179">v179f="+code=s" class="sa>(3a href="+code=tref">tra ace" class="sref">trace3/a>->3a href="4(3a href=4+code=entry" class="sref4>entr48="line" nam2.6L160">vvvvvvvvvcontinuells.c#L84" id.6L84" class="line" nam2.6L8443ss="line4!=v3a href="+code=ent" c4ass="48" class="sref">syscall3/a>);>,v3a href="+code=the needed lenga>(3a href="+code=tref">tratrace/trace_syscallssref">type703/a>>(3a href="i hre]6nel/trace/trace_sa>(3a href="+code=tref">tra;, "trace_4eq_pr48" nam2.6L215">v215opa>        }
entry3/a>, char *3a 4>>3a h4                    3a h4ef="+48de=trode=i" class="sref">i3/a>], sizeof(unsigne4code=ret"4class="sref">ret3/a>);><4 href49st ca"sref">is_signeoore_inliode=ent" class="sreeore_inliode= hrefde=trace_entry"inlinf3/a>->3a hae3/a>(3a href="inlinf3/a>->3a ha hre>lls.c#L84" id.6L84" class="line" nam2.6L844call3/a>;4kernel/trace/trace_sysca4ls.c#493a href="+code=s" class="sref">s3/a>,v3spav cl4         4     return 3a href="+co4e=TRA49/a>-&#ifdefel/trace/trace_sCONFIG_PERF_EVENTSe3/a>(3a href="CONFIG_PERF_EVENTSa href="+code=s" class="sref">s3/a>,v3spav cl4 ss="line4/a>;>syscall3/a>);>v121rnel/trae3/a>(3a href="+cabled_perf_T>v121rnel/trac#L139l/trace/trace_sNRnrnel/trae3/a>(3a href="NRnrnel/trac#L16lls.c#L84" id.6L84" class="line" nam2.6L844c class="4D3/a>;>(3a href="+cabled_perf_T"linrnel/trac#L139l/trace/trace_sNRnrnel/trae3/a>(3a href="NRnrnel/trac#L16lls.c#L84" id.6L84" class="line" nam2.6L844cs.c#L1844 *3a href="+code=__bad_t4pe_si49ls.c#statice"+code=trace_entry" cl_perf_r" count3ater" class="sref">iter_perf_r" count3ater">tra;, "vstatice"+code=trace_entry" cl_perf_r" count3ater" class="sref">ite_perf_r" count3ater>tra;, "v194opa>                3a h4ef="+49de=trstatice/trae=nam2" class="sperf_gt;3a h3ater" class="sref">iperf_gt;3a h3ater" href/trae="sref">is_signeef"or98" class="line" f"or9/a>;  ="sref">s3/a> =v&3pt_rehref="+code=pos" pt_rehrclass="sref">is_signerehref="+code=pos" rehrclas,nprinss="sref">pos3/a>dass="sref">nam2id="ke ace" class="sref">trace3/a>->3a href="5 href="+c5de=typeof" class="sref">5ypeof50a>(3aZERO" class="sref">LEN_OR_ZEROopa>,v3spav 5),v3a hre5="+code=nam2" class="sre5">nam50ine" nam2.6L1code=ent" class="sref">ent3/a>;>),v3a href="+code=is__ce_syscalls.c#L84" id.6L84" class="line" nam2.6L845ls.c#L1995 id.6L199" class="line" 5am2.6502ne" nam2.6L1code=ent" class="sref">ent3/a>yscallhter" class="sref">itert3/a>yscallhter"class="sref">is_signerecf="kernel/tracerecyscalls.c#L84" id.6L84" class="line" nam2.6L845l3.c#L1995 a>;>nam2hlist_headclass="sref">is_signeheadass="sref">nam2headclaslls.c#L84" id.6L84" class="line" nam2.6L845l4.c#L1995 v19        return 52" cl50iterator3/a> "+code=trace_entry"sref">type703/a>>syscall3/a>);> "+code=trace_entry"rctxf="kernel/tracerctx="srlls="sref">syscall3/a>);>,vin50ls.c#L214" id"+code=trace_entry"size" class="sref">iize="srlls="sref">syscall3/a>);>v215opa>        }
i3/50=ret" class="sref">ret3/a>)> clf">type703/a>>is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, ""\n&q class=_ 1703/a>>v2063/a>>/* When len=5, we 51kernel/trace/trace_sytrace_;, "trace3/a>code=s" class="stest_ber" class="sref">test_ber href"sref">is_signe class=_ 1703/a>>v139opa>       abled_perf_T>v121rnel/trae3/a>(3a href="+cabled_perf_T>v121rnel/trac#L1661" id.6L161" class="line" nam2.6L161">v1"53s.c#L1995ref">pos3/a>,v3a href="+5ode=L51="line" nam2.6L160">vtrace_;, "i3/a>++5v{
syscall3/a>);>p514t calculate the needed lengis__>),v3a href="+code=is__ce_syscade=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=_ 1703/a>>trace3/a>code=s" class="sis__>),v3a href="+code=is__ce_sysca61" id.6L161" class="line" nam2.6L161">v1"536ce/trac5 href="kernel/trace/trac5_sysc51>        3a href="+cotrace_;, "v215opa>        }
v215opa>        }
"\""<5spava51" class="linel/trace/trace_siize" class="sref">iize="srde= class="sref">snprint * the needed lengis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls&b_arhref="+code=pos" &b_arhr="srd+9 class=="sref">is_signerecf="kernel/tracerecysca>;, "v1152st calculate the needed lengiize" class="sref">iize="srde=the needed lengALIGN703/a>>trace3/a>))3a href="ize" class="sref">iize="srd+9 class=e3/a>))3a href=u;s("u3/a>-&),9 class=e3/a>))3a href=uce_iteratorsref">u6"+cod)>;, " =v3a href="+code=trac5" cla52alls.c#L168" id.6L168" classeize" class="sref">iize="srd-=9 class=e3/a>))3a href=u;s("u3/a>-&);, "v1152_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PA5call_nr_t5_meta3/a>(3a href="+code5sysca523s.c#L214" idf="+/trace_syscallsWARN_ONCE703/a>>is_signeeize" class="sref">iize="srdrace id.6L168" classPERF_MAX_TRACE_SIZE703/a>>TRACE_TYPE_PA5cace/trac5syscalls.c#L120" id.6L125" cla523/a>,v3a href="+code=lass="sspan3/a>(3a htpava">"perf buffcl9not larhe enough"v1"5c3a href=5lls.c#L123" id.6L123" cl5ss="l52                     nam23/;, "5ntry3523a href="+code=len" class="sref">len3/a>)>typ527s.c#L214" id.6L214" class="recf="kernel/tracerecysca+co(code=ent" class="sref">ent3/a>yscallhter" class="sref">itert3/a>yscallhter"class=tode=s" class="sperf_yscallbuf_prepar98" class="line"perf_yscallbuf_prepar9 href"sref">is_signeeize" class="sref">iize="sr3_PARTIAL_LINE" class="sref">TRACE_TYPE_PA5c8ce/trac5=type" class="sref">type5/a>)v52" class="sref">trace_ef="+code=lass="she needed lengis__>),v3a href="+code=is__ce_syscatrace/trace_syscallsT>v121 el/trace/trace_sysca>v121 el/tyscatrace/trace_syscallsT         return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_T39"sref">is_signerehref="+code=pos" rehrclas,nef="kernel/trace/trarctxf="kernel/tracerctx="sr);, "v525opa52" class="linef="+code=s" class="s_Ocf="kernel/tracerecysca>, "v529opa>        3a href="+5ode=r533a href="+code=s" class="sref">s3/a>,v3spav cl5"#s("v1703/a>>type703/a>>nam23/a>);><5 href53href="+code=trace" class="sr class=_get_arhu0   ref="+code=pos"  class=_get_arhu0   r href"sref">is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclasf 0anthe needed lengis__>),v3a href="+code=is__ce_syscatrace/trace_syscalls&b_arhref="+code=pos" &b_arhr="sr3_PARTIAL_LINE" class="sref">TRACE_TYPE_PA5 class="s5ef">TRACE_TYPE_PARTIAL_L5NE3/a533/a>,v3a href="+code=lass=""""""""""="sref">snprins=tef="kernel/trace/trarOcf="kernel/tracerecysca="line" nam2.6L170">arhref="+code=pos" arhr="sr);, "nb_arg53/a>; 3a href="+code=i" 5lass=53ls.c#L214" id.6L214" class="headass="sref">nam2headclasrnel/trace/trace_syhis_cpu_pte703/a>>trace3/a>))3a href="+c_>),v3a href="+code=is__ce_syscatrace/trace_syscallsT>v121 el/trace/trace_sysca>v121 el/tyscatrace/trace_syscallsperf_Tv   ref="+code=pos" perf_Tv   r="sr);, "perf_yscallbuf_sub0er>trace3/a>))3a href=rOcf="kernel/tracerecyscaanthe needed lengiize" class="sref">iize="sr3ode=trace_entry"rctxf="kernel/tracerctx="srf 0an1                 rehref="+code=pos" rehrclasf .6L214" class="headass="sref">nam2headclase""sref">is_signels.c#L86" id.6L86" class="l>;, "v155opa>5->3a h5ef="+code=types" class="5ref">53de=trace" class="sref">trace3/a>->3a href="5trace/tra5e_syscalls.c#L137" id.6L537" c54st ca"+code=trace_entry"perf_gt;a>v121 nable" class="sref">perf_gt;a>v121 nable>trac="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i5el/trace/5race_syscalls.c#L138" id56L13854/a>),ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 5s */3/spa5altrace3/a>;>entry3/a>, char *3a 53/a>,v3sp5v class="string">"&537;s:54ref="kernel/t"+code=trace_entry"num703/a>>TRACE_53" class=5line" nam2.6L143">v143op5>    54>[3a href="+cde=trace_entry"num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>TRACE_53">nb_arg5> - 1 ?v3spav class="str5ng">&543a href="+code=len" class="sref">len3/a>)><5 href="kernel/trace/trac5_sysc547s.c#L214" id.6L214" class="mutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "argsf="+code=s" class="s cl_perf_r" count3ater" class="sref">iter_perf_r" count3ater">tra>ef="kernel/trace/trace_syscalls.c#L125" i5e>3a h5/trace_syscalls.c#L146" 5d.6L154>isrgisv121syscalls.3ater" href"sref">is_signeperf_gt;3a h3ater" class="sref">iperf_gt;3a h3ater" hree""sref">is_signels.c#L86" id.6L86" class="l>;, "v147opa>
<5 href55v3spav class="stre/trace_syscall_ONCE3/a>(1);>LEN_OR_ZEROopa>,v3spav 5seq_putc"5class="sref">trace_seq_p5tc3/a55ine" nam2.6L179">v179e" nam2.6L170">pr_info class="sref">ipr_info href"span3/a>(3a htpava">"href= R_ZER: Could9not activate"LEN_OR_ZEROopa>,v3spav 5s */3/spa5">')'<5 href55="line" nam2.6L160">vvvvvvvvvvvvvvvvv"span3/a>(3a htpava">"opa>,v3 ef=ry R_ZER po"+c"ret55ref="kernel/t} else_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 5sclass="s5class="line" nam2.6L151"5v1513553/a>,v3a href="+code=ode=s" class="s sreber" class="sref">"sreber href"sref">is_signenum703/a>>v139opa>       abled_perf_T>v121rnel/trae3/a>(3a href="+cabled_perf_T>v121rnel/trac#L16;, "end3/a>:>iter_perf_r" count3ater">tra++;, "trace_seq_pu5c3/a>55ls.c#L214" idls.c#L176" id.6L176" class="line" nam2.6L15spava);><5>'\n'<5 href557s.c#L214" id.6L214" class="mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "(1);>i3/a>], sizeof(unsigne5TIAL_LINE5/a>;>trace3/a5Teq_putc"5ss="line" nam2.6L157">v157opa>56/a>),/trae=nam2" class="sperf_gt;T>v121disable" class="sref">perf_gt;a>v121disable>trac="+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i5ace/trace5syscalls.c#L160" id.6L165" cla56/a>-&ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 53/a>3a hr5f="+code=print_syscall_e5it" c56ref="kernel/t"+code=trace_entry"num703/a>>TRACE_5" class="5ref">trace_event3/a> *3a5href=56>[3a href="+cde=trace_entry"num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>TRACE_5Tq_putc" 5"sref">trace_seq3/a> *3a5href=563a href="+code=len" class="sref">len3/a>)>v165opa>  5     567s.c#L214" id.6L214" class="mutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "it5r3/a>56=ret" class="sref">ret3/a>)> cl_perf_r" count3ater" class="sref">iter_perf_r" count3ater">tra--;, "syscall_trace5exit356" class="linel/trace/trace_scleareber" class="sref">cleareber href"sref">is_signenum703/a>>v139opa>       abled_perf_T>v121rnel/trae3/a>(3a href="+cabled_perf_T>v121rnel/trac#L16;, "v167o5a>   57v3spav class="strcode=s" class="sis__perf_r" count3ater" class="sref">iter_perf_r" count3ater">tra>ef="kernel/trace/trace_syscalls.c#L125" i5call3/a>;5v179e" nam2.6L170">unsrgisv121syscalls.3ater" class="sref">iunsrgisv121syscalls.3ater" href"sref">is_signeperf_gt;3a h3ater" class="sref">iperf_gt;3a h3ater" hree""sref">is_signels.c#L86" id.6L86" class="l>;, "v169op5>    57/a>->3a hrde=trace_entry"mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "v171opa>   5    357ef">els.c#L176" id.6L176" class="line" nam2.6L15" id.6L175" class="line" nam2.6L175">v1757"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_5a class="5a> =v3a href="+code=trac5" cla57>[3a statice/trae=nam2" class="sperf_gt;3a h3ater" class="sref">perf_gt;3a h3ater>trac/trae="sref">is_signeef"or98" class="line" f"or9/a>;  ="sref">s3/a> =v&3pt_rehref="+code=pos" pt_rehrclass="sref">is_signerehref="+code=pos" rehrclas,nprinss="sref">pos3/a_ONCE3/a>(1);>TRACE_5aq_putc" 5class="line" nam2.6L173"5v173o5784">vZERO" class="sref">LEN_OR_ZEROopa>,v3spav 5iass="lin5 id.6L174" class="line" 5am2.657tf3/a>(3a hre="sref">s3/a> =v&3a href=";>),v3a href="+code=is__ce_sysca;, "argscode=ent" class="sref">ent3/a>yscallhter" class="sref">itet3/a>yscallhterclass="sref">is_signerecf="kernel/tracerecyscalls.c#L84" id.6L84" class="line" nam2.6L845">3a h5>                3a href5"+cod57>nam2hlist_headclass="sref">is_signeheadass="sref">nam2headclaslls.c#L84" id.6L84" class="line" nam2.6L8453/a>(3a h5ef="+code=s" class="sref5>s3/a58kernel/trace/"+code=trace_entry"sref">type703/a>>syscall3/a>);>syscall3/a>);>iize="srlls="sref">syscall3/a>);>syscall3/a>);>type703/a>>is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, "trace3/a>the needed lengis_f">type703/a>>v2063/a>>        3a href="+cotrace_;, "trace_5eq_pr58ructv3a href="/a>code=s" class="stest_ber" class="sref">test_ber href"sref">is_signe class=_ 1703/a>>v139opa>       abled_perf_T"linrnel/trae3/a>(3a href="+cabled_perf_T"linrnel/trac#L1661" id.6L161" class="line" nam2.6L161">v1"5;trace_nam23/;, "trace3/a>->3a href="5code=ret"5class="sref">ret3/a>);><5 href59st calculate the needed lengis__>),v3a href="+code=is__ce_syscade=typeof" class="sref">typeof3/a>(3a href="+code=trace" class="sref">trace3/a>))3a href="+code=_ 1703/a>>;5kernel/trace/trace_sysca5ls.c#59="sref">trace3/a>code=s" class="sis__>),v3a href="+code=is__ce_sysca61" id.6L161" class="line" nam2.6L161">v1"5         5     return 3a href="+co5e=TRA59="line" nam2.6L160">vtrace_;, ";>syscall3/a>);>v215opa>        }
;>iize="srde=the needed lengALIGN703/a>>trac class=="sref">is_signerecf="kernel/tracerecysca>d+9 class=e3/a>))3a href=u;s("u3/a>-&),9 class=e3/a>))3a href=uce_iteratorsref">u6"+cod)>;, "iize="srd-=9 class=e3/a>))3a href=u;s("u3/a>-&);, "v215opa>        }
v215opa>        }
(3a 6L20    >.6L160">v* Impossible, but be parantraewith the9fuaceev215opa>        }
6ypeof60a>(3asspan3/a>(3a 6L20    >.6L160">v* How to put this check outside runtime?v215opa>        }
nam60ine" sspan3/a>(3a 6L20    >.6L160">v*/v215opa>        }
is_signeeize" class="sref">iize="srdrace id.6L168" classPERF_MAX_TRACE_SIZE703/a>>TRACE_TYPE_PA6l3.c#L1996 a>;>"h"li href= has grown above perf buffcl9iize"v1"6l4.c#L1996 v19        return 62" cl603/a>,v3a href="+code=trace_;, ",vin60ls.c#L214" id.6L214" class="recf="kernel/tracerecysca+co(code=ent" class="sref">ent3/a>yscallhter" class="sref">itet3/a>yscallhterclass=tode=s" class="sperf_yscallbuf_prepar98" class="line"perf_yscallbuf_prepar9 href"sref">is_signeeize" class="sref">iize="sr3_PARTIAL_LINE" class="sref">TRACE_TYPE_PA6r7ce/trac6_ALL_FIELD" class="sref"6203" 607/a>,v3a href="+code=l/trace/ class="sde=s" class="sis__>),v3a href="+code=is__ce_syscatrace/trace_syscallsT"lin el/trace/trace_sysca"lin el/tyscatrace/trace_syscallsT         return 3a href="+code=TRACE_TYPE_HANDLED" class="sref">TRACE_T39"sref">is_signerehref="+code=pos" rehrclas,nef="kernel/trace/trarctxf="kernel/tracerctx="sr);, "i3/608="sref">argsf="+code=s" class="s_Ocf="kernel/tracerecysca>, "/* When len=6, we 61a>(3a href="+code=trace" class="sref">trace3/a6/trace/tr6ce_syscalls.c#L209" id.66209" 61alls.c#L168" id.6L168" class_Ocf="kernel/tracerecysca="line" nam2.6L170">v1703/a>>type703/a>>pos3/a>,v3a href="+6ode=L61/a>->3a hrde=trace_entry"_Ocf="kernel/tracerecysca="line" nam2.6L170">_ONCE3/a>(1);>iclass=_get_trace__value href"sref">is_signeourr        return 3a ourr   /a>;                 rehref="+code=pos" rehrclas>;, "i3/a>++6v{
syscall3/a>);>p614t calculate the needed lengheadass="sref">nam2headclasrnel/trace/trace_syhis_cpu_pte703/a>>trace3/a>))3a href="+c_>),v3a href="+code=is__ce_syscatrace/trace_syscallsT"lin el/trace/trace_sysca"lin el/tyscatrace/trace_syscallsperf_Tv   ref="+code=pos" perf_Tv   r="sr);, "[3a href="+cde=trace_entry"perf_yscallbuf_sub0er" class="sref">perf_yscallbuf_sub0er>trace3/a>))3a href=rOcf="kernel/tracerecyscaanthe needed lengiize" class="sref">iize="sr3ode=trace_entry"rctxf="kernel/tracerctx="srf 0an1                 rehref="+code=pos" rehrclasf .6L214" class="headass="sref">nam2headclase""sref">is_signels.c#L86" id.6L86" class="l>;, "    ls.c#L176" id.6L176" class="line" nam2.6L16/7ce/trac6ls.c#L215" id.6L215" cla6s="li61" nam2.6L215">v215opa>        }
perf_gt;a"lin nable>trac "+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i63"kernel/6ng">"\""<6spava61" claZERO" class="sref">LEN_OR_ZEROopa>,v3spav 6" id.6L116" class="line" nam2.6L116">v1162kernel/trace/"+code=trace_entry"sref">trace3/a>;>entry3/a>, char *3a 6"trace/tr6a> =v3a href="+code=trac6" cla62ine" nam2.6L1"+code=trace_entry"num703/a>>v1162_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PA6call_nr_t6_meta3/a>(3a href="+code6sysca623s.c#L214" idde=trace_entry"num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>TRACE_TYPE_PA6cace/trac6syscalls.c#L120" id.6L126" cla62"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_6c3a href=6lls.c#L123" id.6L123" cl6ss="l62>[3a href="+cde=trace_entry"mutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "6ntry362ls.c#L214" id"strcode=s" class="sis__perf_r" count3ater" class="sref">ite_perf_r" count3ater>tra>ef="kernel/trace/trace_syscalls.c#L125" i6r7ce/trac6="+code=type" class="sre6">typ627/a>,v3a href="+code=e" nam2.6L170">_ONCE3/a>(1);>srgisv121syscalls.3ater>trace3/a>))3a href=perf_gt;3a h3ater" class="sref">perf_gt;3a h3ater>trae""sref">is_signels.c#L86" id.6L86" class="l>;, "type6/a>)v628="sref">argsf="+e" nam2.6L170">_ONCE3/a>(1);>LEN_OR_ZEROopa>,v3spav 6""kernel/6ass="line" nam2.6L125">v625opa62>ipr_info href"span3/a>(3a htpava">"href= R_ZER: Could9not activate"LEN_OR_ZEROopa>,v3spav 6ace/trace6syscalls.c#L128" id.6L126" cla63kernel/trace/trace_syref="kernel/tracespan3/a>(3a htpava">"opa>,v3 e"li R_ZER po"+c"v629opa>        3a href="+6ode=r63ine" nam2.6L1} else_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 6"$s("vode=s" class="sisreber" class="sref">"sreber href"sref">is_signenum703/a>>v139opa>       abled_perf_T"linrnel/trae3/a>(3a href="+cabled_perf_T"linrnel/trac#L16;, "nam23/a>);><6 href63kernel/trace/ class="sde=s" class="sis__perf_r" count3ater" class="sref">ite_perf_r" count3ater>tra++;, "TRACE_TYPE_PARTIAL_L6NE3/a633/a>,v3a hrefls.c#L176" id.6L176" class="line" nam2.6L16race_sysc6lls.c#L133" id.6L133" cl6ss="l63>[3a href="+cde=trace_entry"mutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "nb_arg63/a>; 3a href="+code=i" 6lass=63ls.c#L214" idnam23/ae/trace_syscall_ONCE3/a>(1);>)v{
63de=tr/trae=nam2" class="sperf_gt;T"lindisable" class="sref">perf_gt;a"lindisable>trac "+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeode=ent" class="sreent3/a>;>ef="kernel/trace/trace_syscalls.c#L125" i6trace/tra6e_syscalls.c#L137" id.6L637" c64a>(3aZERO" class="sref">LEN_OR_ZEROopa>,v3spav 6el/trace/6race_syscalls.c#L138" id66L13864ine" nam2.6L1"+code=trace_entry"num703/a>>TRACE_TYPE_PA63/a>,v3sp6v class="string">"&637;s:643s.c#L214" idde=trace_entry"num703/a>>is_signeode=ent" class="sreent3/a>;trace/trace_syscalls>),v3a href="+code=ce_sysca)trace/trace_syscallssref">type703/a>>syscall3/a>);>TRACE_TYPE_PA6sclass="s6a>->3a href="+code=ar6s" cl64"+code=TRACE_TYPE_HANDLED" class="sref">TRACE_63" class=6line" nam2.6L143">v143op6>    64>[3a href="+cde=trace_entry"mutexalocke3/a>(3a href="mutexalock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "nb_arg6> - 1 ?v3spav class="str6ng">&64ls.c#L214" id.6L214" class="es__perf_r" count3ater" class="sref">ite_perf_r" count3ater>tra--;, "cleareber href"sref">is_signenum703/a>>v139opa>       abled_perf_T"linrnel/trae3/a>(3a href="+cabled_perf_T"linrnel/trac#L16;, "argsf="+code=s" class="s cl_perf_r" count3ater" class="sref">ite_perf_r" count3ater>tra>ef="kernel/trace/trace_syscalls.c#L125" i6e>3a h6/trace_syscalls.c#L146" 6d.6L164>unsrgisv121syscalls.3ater>trace3/a>))3a href=perf_gt;3a h3ater" class="sref">perf_gt;3a h3ater>trae""sref">is_signels.c#L86" id.6L86" class="l>;, "v147opa>
<6 href65st calculate the needed lengmutexaunlocke3/a>(3a href="mutexaunlock>tracef="kernel/trace/traiter3/a>->3locke3/a>(3a href="iter3/a>->3lockclas>;, "trace_seq_p6tc3/a65ine" ls.c#L176" id.6L176" class="line" nam2.6L16s */3/spa6">')'<6 href65_TYPE_PARTIAL_LINE" class="sref">TRACE_TYPE_PA6l/a>,v3sp6f="+code=ret" class="sre6">ret65ref="#endf="tspan3/a>(3a 6L20    >/* CONFIG_PERF_EVENTSv*/v215opa>        }
TRACE_6l" class=6lass="sref">end3/a>:>tyT>v121srgisv12e3/a>(3a href="iter3/a>T>v121srgisv12>trac "+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeT         return 3a href="+co3_PARTIAL_LINE" class="sref">TRACE_TYPE_PA6eq_putc" 6lass="sref">trace_seq_pu6c3/a>65>        3a href="+cooooooooooooooooooe"umel/trace/trace_syef">Tsrg703/a>>Tsrg     e=TRACE_TYPE_HANDLED" class="sref">TRACE_T39/trae="sref">is_signe>),v3a href="+code=ce_sysca)_PARTIAL_LINE" class="sref">TRACE_TYPE_PA6epava);><6>'\n'<6 href657s.c#ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 6o44opa>  6kernel/trace/trace_sysca6ls.c#65gt;3a href="+switch"+e" nam2.6L170">NDLED" class="sref">TRACE_T)_ZERO" class="sref">LEN_OR_ZEROopa>,v3spav 6o>3a h6     return 3a href="+co6e=TRA65>LEN_OR_ZEROopa>,v3spav 6TIAL_LINE6/a>;>trace_seq_p5STERi3/608="sref">argsf="1ass="sref">is_signeT         return 3a hf=yef">Ts="+code=trace" cluot;i3/608="sref">argsf="1ass="sref">is_signeT ass="srefEROopa>,v3spav 53/a>3a h65f="+66sref">nam23/a>);><6 htra66keef">trace3/a>;>TRACE_5" class=65ref"6trace_#ifdef"+co63="line" na"tspan3/a>(3a 6L20="um="srlls.c#L"tspan3/a>(3a 6L20ator" class="sref5>trac56"+code=TRACE_TYPE_HA6Dass="sref ="sref">TRACE_5Tq_putc"65"sre666 cluot;len3/a>)>tra66kernel/trace/trac54st ca"+code=trace_entry"perf_gt;a>v121 nable" class="sref"TERi3/608="sref">argsf="1ass="sref">is_signeT >LEN_OR_Z"kernel/trace/t5344opa> 65de=i6er" class="sreva);>LEN_OR_Z"kernel/trace/t53>3a 65ass=66ine" nam2.6L125">v625opa62>TERi3/608="sref">argsf="1ass="sref">is_signeT;>trace3/a>;>65(3OPE=s="sref"TRACE_REG_REGISTERvva);>(3CLOS8s="sref"TRACE_REG_REGISTERvva);>(3ADDs="sref"TRACE_REG_REGISTERvva);>i/trace/er3/a>(3DEes="sref"TRACE_REG_REGISTERTRACE_5a class=65a> =67L123" id.6L123" cl5ss="l52 eef">trace3/a>;>TRACE_5aq_putc"65clas6="linet" cla">trace3/a>;>,v3spav 5iass="li65 id.6L174" class="l">trace_seq_p6tc3/a65ine" ls.c#L176" id.6L1;> 65try367/trace/trace_sysca5lef">trace3/a>;>   67eturn 3a href="+co5e=TRA55de=trode=i" class="sr64" class=6line" nam2.6L8453/a>(3a 65ef="68ment">/* When len=6, we 61a>(3a href="+code=tral3/a>);><6 href="kernel/t53all3/a>65call6.c#L17>end3/a>:>(3trace_entry"sref">tyT>v121srgisva>(3trace_enef="iter3/a>T>v121srgisv12>trac "+code=nam2" class="sfsyscalhref=_ode=ent" class="srefsyscalhref=_ode=class="sref">is_signeT         return 3a href="+co3_PARTIAL_LINE" cl3/a>);><6 href="kernel/t5(3a href65+cod68ot;Tsrg703/a>>Tsrg     e=TRACE_TYPE_HANDLED" class="sref">TRACE_T39/trae="sref">is_signe>),v3a href="+code=ce_sysca)_PARTIAL_LINE" cl3/a>);><6 href="kernel/t53ss="lin65!=v36 href=ED" class="sref">TRACE_T)_ZERO" class="srefl3/a>);><6 href="kernel/t5/ id.6L165ref=6kernel/trace/tsysca6ls.c#65gt;3a href="+switch"+e" nam2.6L170">NDLED" class="sref">TRACE_T)_ZERO" class="sref;>>ernel/trace/trace_sytrace_rnel/tracrace_ssrgisv121syscalytrace_rnel/tracracref">TERi3/608="sref">argsf="1ass="sref">is_signeT;>tva);>v1"5;TERi3/608="sref">argsf="1ass="sref">is_signeT;>LEN_OR_Z"kernel/trace/t5c>3a 65    68race_syscalls.c#L267" id60>lef">trace3/a>;>trace3/6>->3a href="5code=ret65clas69ment">/* When len=6, we 61a>(3a href="+code=tra;>65kern6l/trac#ifdef"+co63="line" na"tspan3/a>(3a 6L20="um="srlls.c#L"tspan3/a>(3a 6L20ator" class="sref5>trac56"+code=TRACE_TYPE_HA6ss="line"6nam2.6L161">v1"5        65    69nam2.6L169">vva);>nam23/a>);><6 htra66ke class="6ref">63de=tr/trae=n=trace_entry"perf_gt;a"lin nable" class="srefTERi3/608="sref">argsf="1ass="sref">is_signeTl3/a>);><6 href="kernel/t5am2.6L1965>v19694am2.6L169">vva);>63de=tr/trae=nam2" class="sperf_gt;T"lindisable" class="sref"TERi3/608="sref">argsf="1ass="sref">is_signeTl2.6L206"6"kernel/trace/t5cs.c#L1865 *3a69184" class="line" 5am2.658>eef">trace3/a>;>tva);>(3OPE=s="sref"TRACE_REG_REGISTER(3CLOS8" classPERF_MAX/trace/er3/a>(3CLOS8s="sref"TRACE_REG_REGISTER69eturn 3a href="+co6e=TRA65>(3ADDs="sref"TRACE_REG_REGISTERi/trace/er3/a>(3DEes="sref"TRACE_REG_REGISTEReef">trace3/a>;>trace3/a>;>TRACE_TYPE_PA6l3.c#L1976 a>;7v1"6l4.c#L1976 v197opa>        re2.658>eef">trace3/a>;>


The original LXR software byible,a href="+http://sourceforge.net/projects/lxnt>LXR 5refunity_HANDL >.ex"liif="#al version byia href="+mailto:lxn@ce/ux.no">lxn@ce/ux.no_HAN.
lxn.ce/ux.no kindly hosted byia href="+http://www.redpill-ce/pro.no">Redpill Le/pro AS_HANDLprovider of Le/ux 5rnsulting and o"liations services since 1995.