Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 18.11-rc2
[deb_dpdk.git]
/
lib
/
librte_eal
/
common
/
rte_service.c
diff --git
a/lib/librte_eal/common/rte_service.c
b/lib/librte_eal/common/rte_service.c
index
8767c72
..
0f3695c
100644
(file)
--- a/
lib/librte_eal/common/rte_service.c
+++ b/
lib/librte_eal/common/rte_service.c
@@
-795,6
+795,9
@@
rte_service_dump_one(FILE *f, struct rte_service_spec_impl *s,
return;
}
+ if (f == NULL)
+ return;
+
fprintf(f, " %s: stats %d\tcalls %"PRIu64"\tcycles %"
PRIu64"\tavg: %"PRIu64"\n",
s->spec.name, service_stats_enabled(s), s->calls,