summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/thirtythree.stp
blob: 0f0cacf6d1ca819057e212c7f90bf634e88a5ce9 (plain)
1
2
3
4
5
6
7
8
9
#! stap -p2
# Per bz3016, this should get through the semantic pass without warnings.
probe kernel.function("do_mpage_readpage") {
    printf("\n page->mapping %p",$page->mapping)
    %( kernel_v >= "2.6.22" %?
       printf("\n page->first_page->mapping %p",$page->first_page->mapping)
    %)

}