From: tarek.slaymia@gmail.com (tarek slaymia)
Subject: [lttng-dev] lttng kretprobe issue
Date: Thu, 29 May 2014 15:53:10 -0400 [thread overview]
Message-ID: <CAP7TvLcyae2tvJQCmE00=QfmteB4byyKRY+SDkeYaVjF3z5GeA@mail.gmail.com> (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>
reply other threads:[~2014-05-29 19:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP7TvLcyae2tvJQCmE00=QfmteB4byyKRY+SDkeYaVjF3z5GeA@mail.gmail.com' \
--to=tarek.slaymia@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox