public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/28633] New: examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2
@ 2021-11-29 10:15 mcermak at redhat dot com
  2021-11-29 10:18 ` [Bug testsuite/28633] " mcermak at redhat dot com
  2021-11-29 10:19 ` mcermak at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2021-11-29 10:15 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=28633

            Bug ID: 28633
           Summary: examples/io/iostat-scsi.stp needs porting for kernel
                    5.16.0-0.rc2
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

examples/io/iostat-scsi.stp needs porting for kernel
5.16.0-0.rc2.20211124git5d9f4cf36721.19.fc36.x86_64 it seems.  Current
behavior:

# stap -V; uname -r
Systemtap translator/driver (version 4.7/0.186, commit
release-4.6-6-g61a4c8f88eb6 + changes)
Copyright (C) 2005-2021 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.32 ... 5.15.0-rc7
enabled features: BOOST_STRING_REF JAVA LIBRPM LIBSQLITE3 LIBXML2 NLS READLINE
5.16.0-0.rc2.20211124git5d9f4cf36721.19.fc36.x86_64
# 
# 
# stap -g  /usr/local/share/systemtap/examples/io/iostat-scsi.stp 1 -c 'sleep
1'
semantic error: unable to find member 'request' for struct scsi_cmnd
(alternatives: result, req, retries, sdb, SCp, rcu, cmnd, eh_entry, flags,
state, device, allowed, cmd_len, extra_len, prot_op, prot_sdb, eh_eflags,
underflow, abort_work, prot_type, submitter, prot_flags, sense_buffer,
transfersize, budget_token, host_scribble, sc_data_direction,
jiffies_at_alloc): operator '->' at
/usr/local/share/systemtap/examples/io/iostat-scsi.stp:53:55
        source:   device = kernel_string(@choose_defined($cmd,
$SCpnt)->request->rq_disk->disk_name)
                                                                      ^

semantic error: unresolved type : operator '->' at :53:55
        source:   device = kernel_string(@choose_defined($cmd,
$SCpnt)->request->rq_disk->disk_name)
                                                                      ^

semantic error: unable to find member 'disk' for struct scsi_tape
(alternatives: ps, dirty, lock, modes, sili, wait, device, driver, in_use,
index, kref, name, nbr_dio, stats, try_dio, can_bsr, density, inited, ready,
buffer, c_algo, immediate, two_fm, use_pf, max_block, min_block, nbr_waits,
partition, block_size, cln_mode, last_sense, nbr_pages, last_cmnd, tape_type,
write_pending, autorew_dev, cln_sense_mask, do_auto_lock, drv_buffer,
fast_mteom, nbr_finished, omit_blklims, rew_at_close, try_dio_now, write_prot,
door_locked, nbr_requests, new_partition, pos_unknown, recover_reg,
cleaning_req, current_mode, long_timeout, scsi2_logical, can_partitions,
nbr_partitions, recover_count, drv_write_prot, blksize_changed,
cln_sense_value, density_changed, immediate_filemark, default_drvbuffer,
compression_changed): operator '->' at :74:30
        source:   device = kernel_string($STp->disk->disk_name)
                                             ^

Pass 2: analysis failed.  [man error::pass2]
Number of similar error messages suppressed: 4.
Rerun with -v to see them.
#

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/28633] examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2
  2021-11-29 10:15 [Bug testsuite/28633] New: examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2 mcermak at redhat dot com
@ 2021-11-29 10:18 ` mcermak at redhat dot com
  2021-11-29 10:19 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2021-11-29 10:18 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=28633

--- Comment #1 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 13808
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13808&action=edit
patch kick off attempt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/28633] examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2
  2021-11-29 10:15 [Bug testsuite/28633] New: examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2 mcermak at redhat dot com
  2021-11-29 10:18 ` [Bug testsuite/28633] " mcermak at redhat dot com
@ 2021-11-29 10:19 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2021-11-29 10:19 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=28633

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|systemtap at sourceware dot org    |mcermak at redhat dot com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-29 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 10:15 [Bug testsuite/28633] New: examples/io/iostat-scsi.stp needs porting for kernel 5.16.0-0.rc2 mcermak at redhat dot com
2021-11-29 10:18 ` [Bug testsuite/28633] " mcermak at redhat dot com
2021-11-29 10:19 ` mcermak 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).