* [Bug tapsets/16660] New: On kernels >= 3.14, the ioblock.request 'sector' variable is broken
@ 2014-03-04 22:11 dsmith at redhat dot com
2014-03-04 22:34 ` [Bug tapsets/16660] " dsmith at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-03-04 22:11 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=16660
Bug ID: 16660
Summary: On kernels >= 3.14, the ioblock.request 'sector'
variable is broken
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
On kernels >= 3.14, the ioblock.request 'sector' variable is broken:
====
# stap -p4 -ve 'probe ioblock.request { print(sector) }'
Pass 1: parsed user script and 100 library script(s) using
211860virt/28776res/2868shr/26464data kb, in 200usr/80sys/288real ms.
semantic error: unable to find member 'bi_sector' for struct bio (alternatives:
bi_iter, bi_next, bi_cnt, bi_css, bi_ioc, bi_pool, bi_vcnt, bi_bdev, bi_end_io,
bi_flags, bi_io_vec, bi_rw, bi_private, bi_integrity, bi_max_vecs,
bi_remaining, bi_inline_vecs, bi_seg_back_size, bi_phys_segments,
bi_seg_front_size): operator '->' at
/usr/local/share/systemtap/tapset/linux/ioblock.stp:106:22
source: sector = $bio->bi_sector
^
semantic error: unresolved type : identifier 'sector' at :106:9
source: sector = $bio->bi_sector
^
semantic error: unable to find member 'bi_sector' for struct bio (alternatives:
bi_iter, bi_next, bi_cnt, bi_css, bi_ioc, bi_pool, bi_vcnt, bi_bdev, bi_end_io,
bi_flags, bi_io_vec, bi_rw, bi_private, bi_integrity, bi_max_vecs,
bi_remaining, bi_inline_vecs, bi_seg_back_size, bi_phys_segments,
bi_seg_front_size): operator '->' at :106:22
source: sector = $bio->bi_sector
^
semantic error: unresolved type : identifier 'sector' at <input>:1:31
source: probe ioblock.request { print(sector) }
^
semantic error: unresolved type : identifier 'sector' at :1:31
source: probe ioblock.request { print(sector) }
^
semantic error: unresolved type : identifier 'print' at :1:25
source: probe ioblock.request { print(sector) }
^
semantic error: unresolved type : identifier 'sector' at
/usr/local/share/systemtap/tapset/linux/ioblock.stp:106:9
source: sector = $bio->bi_sector
^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 2 embed(s), 0 global(s)
using 514840virt/269616res/115952shr/154016data kb, in 2920usr/1490sys/4420real
ms.
Pass 2: analysis failed. [man error::pass2]
=====
I believe this was caused by the following kernel commit:
====
commit 4f024f3797c43cb4b73cd2c50cec728842d0e49e
Author: Kent Overstreet <kmo@daterainc.com>
Date: Fri Oct 11 15:44:27 2013 -0700
block: Abstract out bvec iterator
Immutable biovecs are going to require an explicit iterator. To
implement immutable bvecs, a later patch is going to add a bi_bvec_done
member to this struct; for now, this patch effectively just renames
things.
====
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tapsets/16660] On kernels >= 3.14, the ioblock.request 'sector' variable is broken
2014-03-04 22:11 [Bug tapsets/16660] New: On kernels >= 3.14, the ioblock.request 'sector' variable is broken dsmith at redhat dot com
@ 2014-03-04 22:34 ` dsmith at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-03-04 22:34 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=16660
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
There were actually several variables with problems in the ioblock tapset:
'sector', 'idx', 'size', and 'bytes_done'. Commit 6befa11 fixes all these
issues.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-04 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 22:11 [Bug tapsets/16660] New: On kernels >= 3.14, the ioblock.request 'sector' variable is broken dsmith at redhat dot com
2014-03-04 22:34 ` [Bug tapsets/16660] " dsmith at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).