Bug 13672 - on 3.3 kernels, the ioscheduler.stp tapset can't find elevator names
Summary: on 3.3 kernels, the ioscheduler.stp tapset can't find elevator names
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 22:58 UTC by David Smith
Modified: 2012-02-08 18:50 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2012-02-07 22:58:51 UTC
On rawhide (3.3.0-0.rc2.git0.2.fc17.x86_64), the buildok/ioscheduler-detailed.stp test fails:

----
# stap -vp4 src/testsuite/buildok/ioscheduler-detailed.stp 
Pass 1: parsed user script and 81 library script(s) using 200724virt/22828res/2812shr kb, in 150usr/30sys/368real ms.
semantic error: unable to find member 'elevator_name' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at /usr/local/share/systemtap/tapset/ioscheduler.stp:28:17
        source: 		: $q->elevator->elevator_name)
                		              ^
semantic error: unable to find member 'elevator_name' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :78:17
        source: 		: $q->elevator->elevator_name)
                		              ^
semantic error: unable to find member 'elevator_type' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :150:44
        source: 	elevator_name = kernel_string($q->elevator->elevator_type->elevator_name)
                	                                          ^
semantic error: unable to find member 'elevator_name' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :115:17
        source: 		: $q->elevator->elevator_name)
                		              ^
semantic error: unable to find member 'elevator_type' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :195:44
        source: 	elevator_name = kernel_string($q->elevator->elevator_type->elevator_name)
                	                                          ^
semantic error: unable to find member 'elevator_type' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :226:44
        source: 	elevator_name = kernel_string($q->elevator->elevator_type->elevator_name)
                	                                          ^
semantic error: unable to find member 'elevator_type' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :257:44
        source: 	elevator_name = kernel_string($q->elevator->elevator_type->elevator_name)
                	                                          ^
semantic error: unable to find member 'elevator_type' for struct elevator_queue (alternatives: type elevator_data kobj sysfs_lock hash registered): operator '->' at :287:44
        source: 	elevator_name = kernel_string($q->elevator->elevator_type->elevator_name)
                	                                          ^
Pass 2: analyzed script: 11 probe(s), 46 function(s), 1 embed(s), 0 global(s) using 379088virt/64424res/6972shr kb, in 21250usr/4240sys/52635real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.
----

The 'elevator_type' member of 'struct elevator_queue' has been renamed to 'type'.
Comment 1 David Smith 2012-02-08 18:50:27 UTC
This problem occurred because the 'elevator_type' field was renamed to 'type' in 'struct elevator_queue'.  Fixed in commit 37b2459.