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 runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64


Systemtap generated code on x86_64 is triggering the locking
correctness validator
(http://people.redhat.com/mingo/lockdep-patches/lockdep-design.txt).
On the rawhide machine getting the following message in
/var/log/messages:

Aug  1 10:06:07 dhcp59-158 kernel: INFO: trying to register non-static key.
Aug  1 10:06:07 dhcp59-158 kernel: the code is fine but needs lockdep annotation.
Aug  1 10:06:07 dhcp59-158 kernel: turning off the locking correctness validator.
Aug  1 10:06:07 dhcp59-158 kernel: 
Aug  1 10:06:07 dhcp59-158 kernel: Call Trace:
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026e269>] show_trace+0xaa/0x23d
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026e411>] dump_stack+0x15/0x17
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802a788e>] __lock_acquire+0x135/0xa54
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802a874e>] lock_acquire+0x4b/0x69
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026723b>] _spin_lock+0x25/0x31
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d714b>]
:stap_23370:_stp_init_time+0xaa/0xe3
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d80ed>]
:stap_23370:_stp_handle_start+0x11/0x55
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d81b8>]
:stap_23370:_stp_proc_write_cmd+0x87/0xd1
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff80217106>] vfs_write+0xcf/0x175
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802179ee>] sys_write+0x47/0x70
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8025ff0e>] system_call+0x7e/0x83

Looking through the nightly testing stap_23370.c ran much earlier (about
4:30am). From the testsuite's systemap.log.

Running ./systemtap.base/add.exp ...
Pass 1: parsed user script and 40 library script(s) in 240usr/10sys/258real ms.

Pass 2: analyzed script: 2 probe(s), 1 function(s), 3 global(s) in
10usr/10sys/4real ms.

Pass 3: translated to C into "/tmp/stapF3LstW/stap_23370.c" in
50usr/90sys/154real ms.

Pass 4: compiled C into "stap_23370.ko" in 1880usr/510sys/2424real ms.

Pass 5: starting run.

systemtap starting probe

PASS: ./systemtap.base/add.stp startup
PASS: ./systemtap.base/add.stp load generation
systemtap ending probe

systemtap test success

PASS: ./systemtap.base/add.stp shutdown and output
Pass 5: run completed in 0usr/60sys/443real ms.

metric:	./systemtap.base/add.stp 	240	10	258	10	10	4	50	90	154	1880	510
2424	0	60	443
testcase ./systemtap.base/add.exp completed in 4 seconds

-- 
           Summary: Systemtap generated code triggering locking correctness
                    validator on x86_64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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