public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11785] New: some $foo$ pretty-printing bugs
@ 2010-07-02 16:44 fche at redhat dot com
  2010-07-02 16:47 ` [Bug translator/11785] " fche at redhat dot com
  2010-07-03  4:33 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-07-02 16:44 UTC (permalink / raw)
  To: systemtap

sudo ./stap -e 'probe kernel.trace("block_*") {println(pp()." ".$$parms$) }
probe timer.s(10) {exit()}'    
stap: ../systemtap2/tapsets.cxx:7273: void
tracepoint_var_expanding_visitor::visit_target_symbol_context(target_symbol*):
Assertion `!tsym->saved_conversion_error' failed.


sudo ./stap -e 'probe kernel.trace("block_rq_insert") {println(pp()." ".$q$) }
probe timer.s(10) {exit()}'
semantic error: too many arguments to print: identifier 'sprintf' at <input>:1:57
        source: probe kernel.trace("block_rq_insert") {println(pp()." ".$q$) }
probe timer.s(10) {exit()}

-- 
           Summary: some $foo$ pretty-printing bugs
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug translator/11785] some $foo$ pretty-printing bugs
  2010-07-02 16:44 [Bug translator/11785] New: some $foo$ pretty-printing bugs fche at redhat dot com
@ 2010-07-02 16:47 ` fche at redhat dot com
  2010-07-03  4:33 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-07-02 16:47 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-07-02 16:47 -------
Another one, interplay of auto-saved entry parameters from .return probe
(pre-@entry)

 sudo ./stap -e 'probe kernel.function("do_path_lookup").return { log(pp(). " ".
$nd$$) } probe timer.s(10) {exit()}'    
semantic error: type mismatch (string vs. long): identifier '$nd$$' at <input>:1:65
        source: probe kernel.function("do_path_lookup").return { log(pp(). " ".
$nd$$) } probe timer.s(10) {exit()}
                                                                                ^
.....

whereas without the .return or @entry($nd$$) it works.


-- 


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

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

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

* [Bug translator/11785] some $foo$ pretty-printing bugs
  2010-07-02 16:44 [Bug translator/11785] New: some $foo$ pretty-printing bugs fche at redhat dot com
  2010-07-02 16:47 ` [Bug translator/11785] " fche at redhat dot com
@ 2010-07-03  4:33 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-07-03  4:33 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |jistone at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

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

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

end of thread, other threads:[~2010-07-03  4:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02 16:44 [Bug translator/11785] New: some $foo$ pretty-printing bugs fche at redhat dot com
2010-07-02 16:47 ` [Bug translator/11785] " fche at redhat dot com
2010-07-03  4:33 ` jistone 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).