Issue 18 in kedr: Instrumentation facilities do not work for kernel 3.16-rc2: RO/NX issue

0 views
Skip to first unread message

ke...@googlecode.com

unread,
Jun 25, 2014, 5:39:40 AM6/25/14
to eugene....@gmail.com
Status: Accepted
Owner: euspec...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 18 by euspec...@gmail.com: Instrumentation facilities do not work
for kernel 3.16-rc2: RO/NX issue
http://code.google.com/p/kedr/issues/detail?id=18

Instrumentation facilities do not work for kernel 3.16-rc2 because the code
of a kernel module now becomes read-only earlier (if
CONFIG_DEBUG_SET_MODULE_RONX=y).

That is, earlier than the notifier is called and the instrumentation starts.

Here is the commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4982223e51e8ea9d09bb33c8323b5ec1877b2b51

We need to either do the instrumentation earlier (see how Ftrace got around
this) or remove RO before and restore it after instrumentation if needed.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ke...@googlecode.com

unread,
Jul 16, 2014, 10:17:16 AM7/16/14
to eugene....@gmail.com

Comment #1 on issue 18 by euspec...@gmail.com: Instrumentation facilities
do not work for kernel 3.16-rc2: RO/NX issue
http://code.google.com/p/kedr/issues/detail?id=18

Fixed in the repository.

ke...@googlecode.com

unread,
Jan 22, 2015, 8:12:57 AM1/22/15
to eugene....@gmail.com

Comment #2 on issue 18 by tsy...@gmail.com: Instrumentation facilities do
not work for kernel 3.16-rc2: RO/NX issue
https://code.google.com/p/kedr/issues/detail?id=18

Can this be marked as "Fixed"?

ke...@googlecode.com

unread,
Jan 22, 2015, 9:08:24 AM1/22/15
to eugene....@gmail.com

Comment #3 on issue 18 by euspec...@gmail.com: Instrumentation facilities
do not work for kernel 3.16-rc2: RO/NX issue
https://code.google.com/p/kedr/issues/detail?id=18

Will be marked as "fixed" when we release the version of KEDR containing
this fix. Until then, it will be kept open.
Reply all
Reply to author
Forward
0 new messages