]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_options.h
trace: add trace directory configuration parameter
[dpdk.git] / lib / librte_eal / common / eal_options.h
index 58ee9ae333e1a9a0a1873c5318f54178f84742e9..04222e57f8953e2ae98c20bb568c30bd86a133cc 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef EAL_OPTIONS_H
 #define EAL_OPTIONS_H
 
+#include "getopt.h"
+
 enum {
        /* long options mapped to a short option */
 #define OPT_HELP              "help"
@@ -31,6 +33,10 @@ enum {
        OPT_LCORES_NUM,
 #define OPT_LOG_LEVEL         "log-level"
        OPT_LOG_LEVEL_NUM,
+#define OPT_TRACE             "trace"
+       OPT_TRACE_NUM,
+#define OPT_TRACE_DIR         "trace-dir"
+       OPT_TRACE_DIR_NUM,
 #define OPT_MASTER_LCORE      "master-lcore"
        OPT_MASTER_LCORE_NUM,
 #define OPT_MBUF_POOL_OPS_NAME "mbuf-pool-ops-name"