aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/performance
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-10-02 08:15:03 +0000
committerPeter Mikus <pmikus@cisco.com>2018-10-02 08:38:50 +0000
commit5729b2d4248c03eae6d9ed6a6e4aa27cf6db0291 (patch)
treed2d55d6905ec602ce8837a6613e25894aaa51c91 /resources/libraries/robot/performance
parent9db603df1076b5ee56ef6326fd0e396b166ed5b1 (diff)
CSIT-1326 VLIB: barrier sync elog tracing
- API changed. Change-Id: If70e1a930aa14b129ad38ef544cff32ad5a08cdd Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/performance')
-rw-r--r--resources/libraries/robot/performance/performance_utils.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot
index e4ece560b8..ec4033a704 100644
--- a/resources/libraries/robot/performance/performance_utils.robot
+++ b/resources/libraries/robot/performance/performance_utils.robot
@@ -815,7 +815,7 @@
| | Run Keyword If | ${dut_stats}==${True} and ${pkt_trace}==${True}
| | ... | VPP Enable Traces On All DUTs | ${nodes}
| | Run Keyword If | ${dut_stats}==${True}
-| | ... | VPP enable barrier traces on all DUTs | ${nodes}
+| | ... | VPP enable elog traces on all DUTs | ${nodes}
| | ${results} = | Create List
| | :FOR | ${i} | IN RANGE | ${subsamples}
| | | Send traffic on tg | ${trial_duration} | ${rate} | ${framesize}
virtual alloc bitmap */ uword *bitmap; /* the bitmap */ char *region_name; char *backing_file; char **filenames; uword *client_pids; /* pad */ /* next page: * (64K) clib heap for the region itself * * data_base -> whatever is in this region */ } svm_region_t; typedef struct svm_map_region_args_ { const char *root_path; /* NULL means use the truly global arena */ const char *name; uword baseva; u64 size; u64 pvt_heap_size; uword flags; char *backing_file; uword backing_mmap_size; /* uid, gid to own the svm region(s) */ int uid; int gid; } svm_map_region_args_t; /* * Memory mapped to high addresses for session/vppcom/vcl/etc... */ #if __WORDSIZE == 64 #ifdef CLIB_SANITIZE_ADDR #define HIGH_SEGMENT_BASEVA 0x300000000000 #else /* CLIB_SANITIZE_ADDR */ #define HIGH_SEGMENT_BASEVA (8ULL << 30) /* 8GB */ #endif /* CLIB_SANITIZE_ADDR */ #elif __WORDSIZE == 32 #define HIGH_SEGMENT_BASEVA (3584UL << 20) /* 3.5GB */ #else #error "unknown __WORDSIZE" #endif /* * Memory shared across all router instances. Packet buffers, etc * Base should be "out of the way," and size should be big enough to * cover everything we plan to put here. */ #define SVM_GLOBAL_REGION_SIZE (64<<20) #define SVM_GLOBAL_REGION_NAME "/global_vm" u64 svm_get_global_region_base_va (); /* * Memory shared across individual router instances. */ #define SVM_OVERLAY_REGION_BASEVA \ (SVM_GLOBAL_REGION_BASEVA + SVM_GLOBAL_REGION_SIZE) #define SVM_OVERLAY_REGION_SIZE (1<<20) #define SVM_OVERLAY_REGION_BASENAME "/overlay_vm" typedef struct { u8 *subregion_name; } svm_subregion_t; typedef struct { svm_subregion_t *subregions; /* subregion pool */ uword *name_hash; u8 *root_path; int uid; int gid; } svm_main_region_t; void *svm_region_find_or_create (svm_map_region_args_t * a); void svm_region_init (void); void svm_region_init_mapped_region (svm_map_region_args_t * a, svm_region_t * rp); int svm_region_init_chroot (const char *root_path); void svm_region_init_chroot_uid_gid (const char *root_path, int uid, int gid); void svm_region_init_args (svm_map_region_args_t * a); void svm_region_exit (void); void svm_region_exit_client (void); void svm_region_unmap (void *rp_arg); void svm_region_unmap_client (void *rp_arg); void svm_client_scan (const char *root_path); void svm_client_scan_this_region_nolock (svm_region_t * rp); u8 *shm_name_from_svm_map_region_args (svm_map_region_args_t * a); u8 *format_svm_region (u8 * s, va_list * args); svm_region_t *svm_get_root_rp (void); #endif /* __included_svm_common_h__ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */