diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-04-20 10:20:26 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-04-22 17:31:33 +0930 |
commit | 09c20c032b0f753969ae778d9783d946f054d7fe (patch) | |
tree | 709242ebbec9d6e8a49136161ab97204d40ce6e3 /kernel | |
parent | c5c3439af0f9c08e253d2a703a7eb3deba7d8591 (diff) | |
download | op-kernel-dev-09c20c032b0f753969ae778d9783d946f054d7fe.zip op-kernel-dev-09c20c032b0f753969ae778d9783d946f054d7fe.tar.gz |
modpost: expand pattern matching to support substring matches
Currently the match() function supports a leading * to match any
prefix and a trailing * to match any suffix. However there currently
is not a combination of both that can be used to target matches of
whole families of functions that share a common substring.
Here we expand the *foo and foo* match to also support *foo* with
the goal of targeting compiler generated symbol names that contain
strings like ".constprop." and ".isra."
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions