diff options
author | Josh Stone <jistone@redhat.com> | 2009-09-03 12:31:21 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-09-03 12:31:21 -0700 |
commit | b969d16b2986a491eb37706e09da888d9914a7dd (patch) | |
tree | 54e19dfc53ae6ef60f0219803576d127723db3c7 /dwflpp.cxx | |
parent | 178ac3f6fdef839ef1ca646421e2c436a91ac1fb (diff) | |
download | systemtap-steved-b969d16b2986a491eb37706e09da888d9914a7dd.tar.gz systemtap-steved-b969d16b2986a491eb37706e09da888d9914a7dd.tar.xz systemtap-steved-b969d16b2986a491eb37706e09da888d9914a7dd.zip |
Escape literal '.'s in regular expressions
* dwflpp.cxx (dwflpp::build_blacklist): Escape '.'s in filenames.
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r-- | dwflpp.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2376,15 +2376,15 @@ dwflpp::build_blacklist() blsection += "|\\.meminit\\."; blsection += "|\\.memexit\\."; - blfile += "kernel/kprobes.c"; // first alternative, no "|" - blfile += "|arch/.*/kernel/kprobes.c"; + blfile += "kernel/kprobes\\.c"; // first alternative, no "|" + blfile += "|arch/.*/kernel/kprobes\\.c"; // Older kernels need ... - blfile += "|include/asm/io.h"; - blfile += "|include/asm/bitops.h"; + blfile += "|include/asm/io\\.h"; + blfile += "|include/asm/bitops\\.h"; // While newer ones need ... - blfile += "|arch/.*/include/asm/io.h"; - blfile += "|arch/.*/include/asm/bitops.h"; - blfile += "|drivers/ide/ide-iops.c"; + blfile += "|arch/.*/include/asm/io\\.h"; + blfile += "|arch/.*/include/asm/bitops\\.h"; + blfile += "|drivers/ide/ide-iops\\.c"; // XXX: it would be nice if these blacklisted functions were pulled // in dynamically, instead of being statically defined here. |