MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_log_get_stream

Function rte_log_get_stream

dpdk/lib/log/log.c:83–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83FILE *
84rte_log_get_stream(void)
85{
86 FILE *f = rte_logs.file;
87
88 if (f == NULL) {
89 /*
90 * Grab the current value of stderr here, rather than
91 * just initializing default_log_stream to stderr. This
92 * ensures that we will always use the current value
93 * of stderr, even if the application closes and
94 * reopens it.
95 */
96 return default_log_stream != NULL ? default_log_stream : stderr;
97 }
98 return f;
99}
100
101/* Set global log level */
102void

Callers 4

rte_vlogFunction · 0.85
bcmfs_hexdump_logFunction · 0.85
qat_hexdump_logFunction · 0.85
buffers_compareFunction · 0.85

Calls

no outgoing calls

Tested by 1

buffers_compareFunction · 0.68