Hi,

Sorry, at this point, uprobe-event doesn't support non-ascii strings.
If you are sure that
the length of the string, you can use an array of u8, e.g. u8[16], but
not sure it can print the string correctly.

Thank you!

2020年12月28日(月) 19:24 Bar H <billy....@gmail.com>:

>
> Hey Masami,
>
> I found your email in github, I hope that's Okay I'm sending you this email 
> regarding uprobe/kprobe as I couldn't find assistance anywhere else.
>
> In uprobe, I'm trying to print out function arguments that are none-ANSI, 
> that means there are trailing zeros after every character, so when I use the 
> +0(%x0):string notation, I get only the first character.
>
> Do you know if there's a way around this? maybe use another function in the 
> sysfs framework that I could use? I'm debugging a third-party, user-mode *.so 
> file.
>
> Best,
> Bar



--
Masami Hiramatsu

Reply via email to