This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/13037] blacklist false positives


http://sourceware.org/bugzilla/show_bug.cgi?id=13037

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjw at redhat dot com

--- Comment #1 from Mark Wielaard <mjw at redhat dot com> 2011-07-28 08:00:31 UTC ---
First try:

diff --git a/dwflpp.cxx b/dwflpp.cxx
index fda6afd..256b403 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -2986,7 +2986,9 @@ dwflpp::build_blacklist()

   // Lots of locks
   blfn += "|.*raw_.*lock.*";
-  blfn += "|.*read_.*lock.*";
+  blfn += "|.*read_lock.*";
+  blfn += "|.*read_unlock.*";
+  blfn += "|.*read_trylock.*";
   blfn += "|.*write_.*lock.*";
   blfn += "|.*spin_.*lock.*";
   blfn += "|.*rwlock_.*lock.*";

Which frees up the following (block and clock) functions for probing:

-ata_tf_read_block
-cdrom_read_block
-ext4_read_block_bitmap
-ext4_should_dioread_nolock
-pvclock_read_wallclock
-read_block_bitmap
-read_boot_clock
-read_persistent_clock
-read_tag_block
-sd_read_block_characteristics
-sd_read_block_limits
-thread_cpu_clock_get
-thread_cpu_clock_getres
-will_read_block

Still investigating the other [cb]lock related regexs.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]