projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ebf8f
)
scripts: get_abi.pl: extend xref match to other types
author
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Thu, 25 Mar 2021 10:38:25 +0000
(11:38 +0100)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 31 Mar 2021 19:53:16 +0000
(13:53 -0600)
Currently, there are "What:" symbols for more than just
/sys.
Extend the regex to also cover configfs, /proc /dev and /kvd
symbols.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link:
https://lore.kernel.org/r/a1c7e2b2c37ed6e111dfc8641deb37ed96375a63.1616668017.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/get_abi.pl
patch
|
blob
|
history
diff --git
a/scripts/get_abi.pl
b/scripts/get_abi.pl
index e87028257d1c12314a7c3566abb0c5dde9e57739..eb1a23103afa29e65466b788394c7af93523cf17 100755
(executable)
--- a/
scripts/get_abi.pl
+++ b/
scripts/get_abi.pl
@@
-285,7
+285,7
@@
sub create_labels {
# Boundaries are punct characters, spaces and end-of-line
my $start = qr {(^|\s|\() }x;
my $bondary = qr { ([,.:;\)\s]|\z) }x;
-my $xref_match = qr { $start(\/
sys
\/[^,.:;\)\s]+)$bondary }x;
+my $xref_match = qr { $start(\/
(sys|config|proc|dev|kvd)
\/[^,.:;\)\s]+)$bondary }x;
my $symbols = qr { ([\x01-\x08\x0e-\x1f\x21-\x2f\x3a-\x40\x7b-\xff]) }x;
sub output_rest {