"Fossies" - the Fresh Open Source Software Archive

Member "lttng-modules-2.11.0-rc5/instrumentation/syscalls/headers/syscalls_unknown.h" (10 Apr 2019, 1450 Bytes) of package /linux/misc/lttng-modules-2.11.0-rc5.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "syscalls_unknown.h" see the Fossies "Dox" file reference documentation.

    1 #if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ)
    2 #define _TRACE_SYSCALLS_UNKNOWN_H
    3 
    4 #include <probes/lttng-tracepoint-event.h>
    5 #include <linux/syscalls.h>
    6 
    7 #define UNKNOWN_SYSCALL_NRARGS  6
    8 
    9 #undef TP_PROBE_CB
   10 #define TP_PROBE_CB(_template)          &syscall_entry_probe
   11 
   12 LTTNG_TRACEPOINT_EVENT(syscall_entry_unknown,
   13     TP_PROTO(int id, unsigned long *args),
   14     TP_ARGS(id, args),
   15     TP_FIELDS(
   16         ctf_integer(int, id, id)
   17         ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS)
   18     )
   19 )
   20 LTTNG_TRACEPOINT_EVENT(compat_syscall_entry_unknown,
   21     TP_PROTO(int id, unsigned long *args),
   22     TP_ARGS(id, args),
   23     TP_FIELDS(
   24         ctf_integer(int, id, id)
   25         ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS)
   26     )
   27 )
   28 
   29 #undef TP_PROBE_CB
   30 #define TP_PROBE_CB(_template)          &syscall_exit_probe
   31 
   32 LTTNG_TRACEPOINT_EVENT(syscall_exit_unknown,
   33     TP_PROTO(int id, long ret, unsigned long *args),
   34     TP_ARGS(id, ret, args),
   35     TP_FIELDS(
   36         ctf_integer(int, id, id)
   37         ctf_integer(long, ret, ret)
   38         ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS)
   39     )
   40 )
   41 LTTNG_TRACEPOINT_EVENT(compat_syscall_exit_unknown,
   42     TP_PROTO(int id, long ret, unsigned long *args),
   43     TP_ARGS(id, ret, args),
   44     TP_FIELDS(
   45         ctf_integer(int, id, id)
   46         ctf_integer(long, ret, ret)
   47         ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS)
   48     )
   49 )
   50 #endif /*  _TRACE_SYSCALLS_UNKNOWN_H */
   51 
   52 /* This part must be outside protection */
   53 #include <probes/define_trace.h>