struct trace *trace = trace_obj_get();
uint64_t bufsz;
- if (val == NULL) {
- trace_err("no optarg is passed");
- return -EINVAL;
- }
-
bufsz = rte_str_to_size(val);
if (bufsz == 0) {
trace_err("buffer size cannot be zero");
unsigned long tmp;
char *pattern;
- if (val == NULL) {
- trace_err("no optarg is passed");
- return -EINVAL;
- }
-
if (len == 0) {
trace_err("value is not provided with option");
return -EINVAL;
char *dir_path = NULL;
int rc;
- if (val == NULL) {
- trace_err("no optarg is passed");
- return -EINVAL;
- }
-
if (strlen(val) >= size) {
trace_err("input string is too big");
return -ENAMETOOLONG;