#! stap -p4

# Test the conversions tapset.

probe begin {
  print (kernel_string(2342))
  print (kernel_string_n(2342, 1))
  print (kernel_string_utf32(2342))
  print (kernel_string_utf16(2342))
  print (kernel_long(2342))
  print (kernel_int(2342))
  print (kernel_short(2342))
  print (kernel_char(2342))
  print (kernel_pointer(2342))

  print (user_string(2342))
  print (user_string2(2342,"foobar"))
  print (user_string_warn(2342))
  print (user_string_quoted (2342))

  print (user_string_n(2342, 5))
  print (user_string_n2(2342, 5, "foobar"))
  print (user_string_n_warn(2342, 5))
  print (user_string_n_quoted(2342, 5))
  print (user_string_utf32(2342))
  print (user_string_utf16(2342))
  print (user_short(2342))
  print (user_short_warn(2342))
  print (user_int(2342))
  print (user_int_warn(2342))
  print (user_long(2342))
  print (user_long_warn(2342))
  print (user_char(2342))
  print (user_char_warn(2342))

  print (user_int8(2342))
  print (user_uint8(2342))
  print (user_int16(2342))
  print (user_uint16(2342))
  print (user_int32(2342))
  print (user_uint32(2342))
  print (user_int64(2342))
  print (user_uint64(2342))
}
