#! stap
# Usage: set $1 to supply test address; -DMAXERRORS=<many>

probe begin(-1) { print ("\n") }
probe begin { print (kernel_string ($1)) }
probe begin { print (kernel_long ($1)) }
probe begin { print (kernel_int ($1)) }
probe begin { print (kernel_short ($1)) }
probe begin { print (kernel_char ($1)) }
probe begin { print (kernel_int ($1)) }
probe begin { printf ("%m", $1) }
probe begin { str = sprintf("%m", $1); printf ("%s", str) }
probe begin { printf ("%M", $1) }
probe begin { str = sprintf("%M", $1); printf ("%s", str) }
probe begin { print (user_string ($1)) }
probe begin { print (user_string2 ($1,"<only suspected, not known>")) }
probe begin { print (user_string_warn ($1)) }
probe begin { print (user_string2_warn ($1, "<only suspected, not known>")) }
probe begin { print (user_string_quoted ($1)) }
probe begin { print (user_string_n ($1, 5)) }
probe begin { print (user_string_n2 ($1, 5, "<only suspected, not known>")) }
probe begin { print (user_string_n_warn ($1, 5)) }
probe begin { print (user_string2_n_warn ($1, 5, "<only suspected, not known>")) }
probe begin { print (user_string_n_quoted ($1, 5)) }
probe begin { print (user_short ($1)) }
probe begin { print (user_short_warn ($1)) }
probe begin { print (user_int ($1)) }
probe begin { print (user_int_warn ($1)) }
probe begin { print (user_long ($1)) }
probe begin { print (user_long_warn ($1)) }
probe begin { print (user_char ($1)) }
probe begin { print (user_char_warn ($1)) }
probe begin(1) { print ("\n") exit () }
