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]

dynamically replace the buggy function in kernel


Hi,

I have an idea. We could find buggy functions in kernel and want to
replace them dynamically.

Here is the scenario. After jprobe handler is executed, it just returns
without executing the original function. For example, assume function
foo calls function foo2. We want to replace foo2 with a new function
temporarily. We could register a jprobe at foo2. After jprobe handler is
executed, we could just return to function foo without executing the
left foo2.

Any comment?

Yanmin


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