This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: too many transport failure


jistone wrote:

> [...]
>> pp() will print a long string, thought that consumes a lot of buffer.
>> [...]
> You could get the raw probe address with a function like this:
>
>   function REG_IP:long() %{
>     THIS->__retvalue = CONTEXT->regs ? REG_IP(CONTEXT->regs) : 0;
>   %}

That's weird, we have uaddr() already.  There should be a raw
version of it with that content, named something better.

> Then, we don't have any automatic way to associate that to a pp() [...]

What about symname(REG_IP())?

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]