public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/26181] New: tapset/linux/nfs_proc.stp needs update
@ 2020-06-29 11:31 mcermak at redhat dot com
  2020-06-29 11:32 ` [Bug runtime/26181] " mcermak at redhat dot com
  2020-06-29 14:36 ` mcermak at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2020-06-29 11:31 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 26181
           Summary: tapset/linux/nfs_proc.stp needs update
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

Following testcase fails with recent stap:

=======
# cat nfs.proc.read_setup.stp 
probe nfs.proc.read_setup{
        printf("nfs.proc.read_setup server_ip: %s\n", server_ip);
        printf("nfs.proc.read_setup prot: %d\n", prot);
}

# stap -v -p 2 nfs.proc.read_setup.stp
Pass 1: parsed user script and 479 library scripts using
198280virt/79724res/10572shr/68976data kb, in 260usr/40sys/297real ms.
semantic error: type mismatch (string): identifier 'server_ip' at
nfs.proc.read_setup.stp:2:55
        source:         printf("nfs.proc.read_setup server_ip: %s\n",
server_ip);
                                                                      ^

semantic error: type mismatch (string): identifier 'server_ip' at :2:55
        source:         printf("nfs.proc.read_setup server_ip: %s\n",
server_ip);
                                                                      ^

semantic error: type was first inferred here (long): identifier 'server_ip' at
/usr/local/share/systemtap/tapset/linux/nfs_proc.stp:761:2
        source:         server_ip = 0
                        ^

semantic error: unknown type in dereference: operator '->' at
/usr/local/share/systemtap/tapset/linux/nfs_proc.stpm:26:13
        source:         ( @nfs_data->args->count )
                                   ^
        in expansion of macro: operator '@_nfs_data_args_count' at
/usr/local/share/systemtap/tapset/linux/nfs_proc.stp:792:10
        source:         count = @_nfs_data_args_count(@choose_defined($hdr,
$data))
                                ^

semantic error: unknown type in dereference: operator '->' at :26:13
        source:         ( @nfs_data->args->count )
                                   ^
        in expansion of macro: operator '@_nfs_data_args_count' at
/usr/local/share/systemtap/tapset/linux/nfs_proc.stp:824:10
        source:         count = @_nfs_data_args_count(@choose_defined($hdr,
$data))
                                ^

Pass 2: analyzed script: 3 probes, 26 functions, 2 embeds, 0 globals using
422524virt/305128res/11776shr/293220data kb, in 3450usr/580sys/4040real ms.
Pass 2: analysis failed.  [man error::pass2]
# 

=======

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

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

* [Bug runtime/26181] tapset/linux/nfs_proc.stp needs update
  2020-06-29 11:31 [Bug runtime/26181] New: tapset/linux/nfs_proc.stp needs update mcermak at redhat dot com
@ 2020-06-29 11:32 ` mcermak at redhat dot com
  2020-06-29 14:36 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2020-06-29 11:32 UTC (permalink / raw)
  To: systemtap

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

--- Comment #1 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 12667
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12667&action=edit
possible fix

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

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

* [Bug runtime/26181] tapset/linux/nfs_proc.stp needs update
  2020-06-29 11:31 [Bug runtime/26181] New: tapset/linux/nfs_proc.stp needs update mcermak at redhat dot com
  2020-06-29 11:32 ` [Bug runtime/26181] " mcermak at redhat dot com
@ 2020-06-29 14:36 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2020-06-29 14:36 UTC (permalink / raw)
  To: systemtap

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

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Martin Cermak <mcermak at redhat dot com> ---
Fixed in commit 403e927796c3008ad5d5fed9bd97dc7cbad424bb .

-- 
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:[~2020-06-29 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 11:31 [Bug runtime/26181] New: tapset/linux/nfs_proc.stp needs update mcermak at redhat dot com
2020-06-29 11:32 ` [Bug runtime/26181] " mcermak at redhat dot com
2020-06-29 14:36 ` 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).