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

Function rte_log_set_level

dpdk/lib/log/log.c:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157int
158rte_log_set_level(uint32_t type, uint32_t level)
159{
160 if (type >= rte_logs.dynamic_types_len)
161 return -1;
162 if (level > RTE_LOG_MAX)
163 return -1;
164
165 logtype_set_level(type, level);
166
167 return 0;
168}
169
170/* set log level by regular expression */
171int

Callers 8

ff_log_set_levelFunction · 0.85
test_legacy_logsFunction · 0.85
test_logsFunction · 0.85
test_ethdev_apiFunction · 0.85
test_ipfragFunction · 0.85
test_securityFunction · 0.85
test_link_statusFunction · 0.85
mainFunction · 0.85

Calls 1

logtype_set_levelFunction · 0.85

Tested by 7

test_legacy_logsFunction · 0.68
test_logsFunction · 0.68
test_ethdev_apiFunction · 0.68
test_ipfragFunction · 0.68
test_securityFunction · 0.68
test_link_statusFunction · 0.68
mainFunction · 0.68