This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2924] Translator can't resolve "$error" local variable.


------- Additional Comments From dsmith at redhat dot com  2006-07-14 15:33 -------
This works for me with the latest systemtap cvs source on FC5 i686
(2.6.16-1.2133_FC5).

====
# stap -vvv -p2 2924.stp
Created temporary directory "/tmp/stapFBYjtB"
Searched
'/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6.16-1.2133_FC5/i686/*.stp',
match count 0
Searched
'/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6.16-1.2133_FC5/*.stp',
match count 0
Searched
'/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6.16/i686/*.stp',
match count 0
Searched
'/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6.16/*.stp', match
count 0
Searched
'/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6/i686/*.stp', match
count 0
Searched '/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/2.6/*.stp',
match count 0
Searched '/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/i686/*.stp',
match count 1
Searched '/home/dsmith/src/sourceware.org/systemtap/src.cvs/tapset/*.stp', match
count 27
Pass 1: parsed user script and 28 library script(s) in 280usr/0sys/384real ms.
parsed 'bio_endio' -> func 'bio_endio'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel' = [c0100000-c043625c, bias 0]
pattern 'bio_endio' matches function 'bio_endio'
selected function bio_endio
prologue searching function 'bio_endio' 0xc0159836-0xc015988a@fs/bio.c:1032
checking line record 0xc0159836@fs/bio.c:1032
checking line record 0xc0159840@fs/bio.c:1033
prologue found function 'bio_endio' = 0xc0159840
finding location for local 'error' near address c0159840, module bias 0
finding location for local 'error' near address c0159840, module bias 0
probe bio_endio@fs/bio.c:1032 pc=0xc0159840
pattern 'kernel' matches module 'kernel'
# functions
_dwarf_tvar_get_error_0:long ()
%{{
  {
    THIS->__retvalue = fetch_register (1);
  }
  goto out;
if (0) goto deref_fault;
deref_fault:
  c->last_error = "pointer dereference fault";
  goto out;
}
/* pure */%}
# probes
kernel.function("bio_endio@fs/bio.c:1032")
{
printf("%d\n", _dwarf_tvar_get_error_0())
}
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 global(s) in
460usr/40sys/499real ms.
Running rm -rf /tmp/stapFBYjtB
====

-- 


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]