* Re: Unicode output with uprobe?
[not found] <CA+LSzgc+xy_HpLFYuSbg8XKfAxxwGm9957dAa__m_2FEiBFiyg@mail.gmail.com>
@ 2021-01-02 8:41 ` Masami Hiramatsu
0 siblings, 0 replies; only message in thread
From: Masami Hiramatsu @ 2021-01-02 8:41 UTC (permalink / raw)
To: Bar H; +Cc: Masami Hiramatsu, Linux kernel mailing list, Oleg Nesterov
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.san@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-02 8:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CA+LSzgc+xy_HpLFYuSbg8XKfAxxwGm9957dAa__m_2FEiBFiyg@mail.gmail.com>
2021-01-02 8:41 ` Unicode output with uprobe? Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).