Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] lttng kretprobe issue
@ 2014-05-29 19:53 tarek slaymia
  0 siblings, 0 replies; only message in thread
From: tarek slaymia @ 2014-05-29 19:53 UTC (permalink / raw)


Hi all

when i replace a syscall function address for example sys_write using this
function in my LKM module :

xchg(&sys_call_table[__NR_write],my_own_write);

In the normal case the content of sys_call_table[__NR_write] address
changes and it displays the address of my_own_write using debug technique .

I have an issue when tracing this change using lttng kretprobe :

lttng enable-event sys_write -k --function sys_write

 The ip value of sys_write ( the same address of sys_call_table[__NR_write]
) remains the same even after changing it by the new function address
(address of my_own_write)
Why the ip value of sys_write syscall displayed in lttng traces remains the
same even after changing it ?

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140529/cb47de0d/attachment.html>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-29 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-29 19:53 [lttng-dev] lttng kretprobe issue tarek slaymia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox