[HELP] could't get the global static var using @var

Frank Ch. Eigler fche@redhat.com
Mon Jul 8 16:31:00 GMT 2013


=?UTF-8?B?5Yav5Yqb?= <lifeng1519@gmail.com> writes:

> [...]
> probe begin{
>         p = @var("shrinker_list@mm/vmscan.c")
>         print(travel_shrinker(p));
> }

Improvements in this facility were made very recently [1], though I
can't resolve this with git systemtap either for some reason.  OTOH
this works:

probe begin {
    println(@var("shrinker_list")$)
    exit()
}

[1] http://sourceware.org/bugzilla/show_bug.cgi?id=11096

- FChE



More information about the Systemtap mailing list