diff options
author | 2021-03-25 19:14:25 +0100 | |
---|---|---|
committer | 2021-03-25 12:50:27 -0600 | |
commit | 8d295fbad687a61eaa0cf14958c284a3ddbf2173 (patch) | |
tree | c4b1ef2bad7e5ab3beb3f78d3c6b102f2ec9c7a9 /tools/perf/scripts/python/stackcollapse.py | |
parent | docs: reporting-issues.rst: improved process esp. for stable regressions (diff) | |
download | linux-dev-8d295fbad687a61eaa0cf14958c284a3ddbf2173.tar.xz linux-dev-8d295fbad687a61eaa0cf14958c284a3ddbf2173.zip |
kernel-doc: better handle '::' sequences
Right now, if one of the following headers end with a '::', the
kernel-doc script will do the wrong thing:
description|context|returns?|notes?|examples?
The real issue is with examples, as people could try to write
something like:
example::
/* Some C code */
and this won't be properly evaluated. So, improve the regex
to not catch '\w+::' regex for the above identifiers.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/2cf44cf1fa42588632735d4fbc8e84304bdc235f.1616696051.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions