"Fossies" - the Fresh Open Source Software Archive

Member "sysdig-0.26.1/driver/dynamic_params_table.c" (24 May 2019, 898 Bytes) of package /linux/misc/sysdig-0.26.1.tar.gz:


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 "dynamic_params_table.c" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 0.24.1_vs_0.24.2.

    1 /*
    2 
    3 Copyright (c) 2013-2018 Draios Inc. dba Sysdig.
    4 
    5 This file is dual licensed under either the MIT or GPL 2. See MIT.txt
    6 or GPL2.txt for full copies of the license.
    7 
    8 */
    9 
   10 #include "ppm_events_public.h"
   11 
   12 const struct ppm_param_info sockopt_dynamic_param[PPM_SOCKOPT_IDX_MAX] = {
   13     [PPM_SOCKOPT_IDX_UNKNOWN] = {{0}, PT_BYTEBUF, PF_HEX},
   14     [PPM_SOCKOPT_IDX_ERRNO] = {{0}, PT_ERRNO, PF_DEC},
   15     [PPM_SOCKOPT_IDX_UINT32] = {{0}, PT_UINT32, PF_DEC},
   16     [PPM_SOCKOPT_IDX_UINT64] = {{0}, PT_UINT64, PF_DEC},
   17     [PPM_SOCKOPT_IDX_TIMEVAL] = {{0}, PT_RELTIME, PF_DEC},
   18 };
   19 
   20 const struct ppm_param_info ptrace_dynamic_param[PPM_PTRACE_IDX_MAX] = {
   21     [PPM_PTRACE_IDX_UINT64] = {{0}, PT_UINT64, PF_HEX},
   22     [PPM_PTRACE_IDX_SIGTYPE] = {{0}, PT_SIGTYPE, PF_DEC},
   23 };
   24 
   25 const struct ppm_param_info bpf_dynamic_param[PPM_BPF_IDX_MAX] = {
   26     [PPM_BPF_IDX_FD] = {{0}, PT_FD, PF_DEC},
   27     [PPM_BPF_IDX_RES] = {{0}, PT_ERRNO, PF_DEC},
   28 };