[Bug runtime/26844] off-by-one error in the output of sprint_ubacktrace()

agentzh at gmail dot com sourceware-bugzilla@sourceware.org
Thu Nov 5 00:29:34 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26844

--- Comment #2 from agentzh <agentzh at gmail dot com> ---
Using `sprint_backtrace()` is the same thing:

```
$ stap -d kernel -e 'probe oneshot { printf("{\%s}\n", sprint_backtrace()) }'
{0xffffffffc1d8994b [stap_f56de473ef304e53bfb082b091cabf8_15711+0x894b]
0xffffffffc1d898ca [stap_f56de473ef304e53bfb082b091cabf8_15711+0x88ca]
(inexact)}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list