Changeset 91b72d3 for lib/format_bpf.c


Ignore:
Timestamp:
01/05/09 11:29:11 (13 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
ad36006
Parents:
9d0049cf
Message:

Try to autoguess the tracetype if the format uri specify is not present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_bpf.c

    rc0dba7a r91b72d3  
    6969
    7070#define BPFHDR(x) ((struct bpf_hdr *)((x)->header))
     71
     72static int bpf_start_filename(const char *filename)
     73{
     74        return 0;
     75}
    7176
    7277static int bpf_init_input(libtrace_t *libtrace)
     
    429434        "$Id$",
    430435        TRACE_FORMAT_BPF,
     436        bpf_probe_filename,     /* probe filename */
     437        NULL,                   /* probe magic */
    431438        bpf_init_input,         /* init_input */
    432439        bpf_config_input,       /* config_input */
Note: See TracChangeset for help on using the changeset viewer.