FW: [Fault-injection-developer] RFC: Interceptor for PIO
Status: Alpha
Brought to you by:
rustyl
From: Wang, S. <sta...@in...> - 2002-12-19 01:05:02
|
> -----Original Message----- > From: Wang, Stanley=20 > Sent: 2002=E5=B9=B412=E6=9C=8819=E6=97=A5 8:47 > To: Lynch, Rusty > Subject: RE: [Fault-injection-developer] RFC: Interceptor for PIO >=20 >=20 > Sure. I've claped my eye on it since 2.5.48 released :) > I would like to add "insmod" feature into fith-tool with the new=20 > kernel module loader. And I could calculate the offset of all PIO > instructions in user mode before load the module. Then I could > calculate the start address of the module's ".text" segment by=20 > searching "modules" list. FinallyI could combine them and pass=20 > them to Kprobes. I think it should work :) > How do you think about this? >=20 > -Stan >=20 > > -----Original Message----- > > From: Lynch, Rusty=20 > > Sent: 2002=E5=B9=B412=E6=9C=8819=E6=97=A5 1:44 > > To: Wang, Stanley; = 'fau...@li...' > > Subject: RE: [Fault-injection-developer] RFC: Interceptor for PIO > >=20 > >=20 > >=20 > > > Stanley wrote:=20 > > > pros: > > > 1. As many breakpoints as you wish :) > > >=20 > > > cons: > > > 1. A user mode utility is needed for finding all IO related=20 > > > instructions > > > out. > > > 2. And we need to export the symbol "modules" for locating=20 > > the wanted > > > instructions. > > >=20 > >=20 > > Have you looked into the new kernel module loader? We might be = able > > to take advantage of some of the extra functionality it presents = (at > > least for loadable modules). > >=20 > > --rusty > >=20 >=20 |