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.08
[deb_dpdk.git]
/
doc
/
guides
/
contributing
/
coding_style.rst
diff --git
a/doc/guides/contributing/coding_style.rst
b/doc/guides/contributing/coding_style.rst
index
b0f0adb
..
b1bf0d1
100644
(file)
--- a/
doc/guides/contributing/coding_style.rst
+++ b/
doc/guides/contributing/coding_style.rst
@@
-1,3
+1,6
@@
+.. SPDX-License-Identifier: BSD-3-Clause
+ Copyright 2018 The DPDK contributors
+
.. _coding_style:
DPDK Coding Style
.. _coding_style:
DPDK Coding Style
@@
-614,8
+617,8
@@
In the DPDK environment, use the logging interface provided:
* is DEBUG) */
rte_log_set_level(my_logtype2, RTE_LOG_NOTICE);
* is DEBUG) */
rte_log_set_level(my_logtype2, RTE_LOG_NOTICE);
- /* enable all PMD logs (whose identifier string starts with "pmd") */
- rte_log_set_level_
regexp
("pmd.*", RTE_LOG_DEBUG);
+ /* enable all PMD logs (whose identifier string starts with "pmd
.
") */
+ rte_log_set_level_
pattern
("pmd.*", RTE_LOG_DEBUG);
/* log in debug level */
rte_log_set_global_level(RTE_LOG_DEBUG);
/* log in debug level */
rte_log_set_global_level(RTE_LOG_DEBUG);