Changeset 418c78d for lib


Ignore:
Timestamp:
12/10/18 15:37:12 (22 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
d439067
Parents:
509ee47
Message:

Add TRACE_OPTION_CONSTANT_ERF_FRAMING into remaining formats.

These formats are conditionally built, so I had missed them when
I first added this option. All formats simply report that the
option is "unsupported".

Note: technically the DAG formats *could* make use of the option
to try and save some processing overhead per packet -- we should
consider adding proper support for the option to format_dag25 at
least.

Location:
lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lib/format_bpf.c

    r2193905 r418c78d  
    377377                        break;
    378378                case TRACE_OPTION_REPLAY_SPEEDUP:
     379                        break;
     380                case TRACE_OPTION_CONSTANT_ERF_FRAMING:
    379381                        break;
    380382                /* Avoid default: so that future options will cause a warning
  • lib/format_dag24.c

    r2193905 r418c78d  
    230230                        /* Live capture is always going to be realtime */
    231231                        return -1;
     232                case TRACE_OPTION_CONSTANT_ERF_FRAMING:
     233                        return -1;
    232234        }
    233235        return -1;
  • lib/format_dag25.c

    r2193905 r418c78d  
    623623                return 0;
    624624        }
     625        case TRACE_OPTION_CONSTANT_ERF_FRAMING:
     626                return -1;
    625627        return -1;
    626628}
  • lib/format_dpdk.c

    r5141cd6 r418c78d  
    735735        case TRACE_OPTION_EVENT_REALTIME:
    736736        case TRACE_OPTION_REPLAY_SPEEDUP:
     737        case TRACE_OPTION_CONSTANT_ERF_FRAMING:
    737738                break;
    738739        /* Avoid default: so that future options will cause a warning
Note: See TracChangeset for help on using the changeset viewer.