Re: Rawhide kernel options not enabled?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Or you could take my advice of many moons ago now and find less cockamamy
> > ways to implement this. ;-)
> 
> By what? Rewriting gcc?

Only a wee little bit. ;-) Seriously, -pg is eight kinds of wrong, and not
even what you really want anyway.  (If your probe points are at actual
entry points instead of inside prologues, then you can get the function
arguments directly, assuming you know which calling convention that
particular function has, which you don't really but you'd probably be happy
pretending you did.)

You do not really need any kind of magical list of spots generated at
compile time.  You can just do insertion anywhere it works.  (If you're
willing to fall back to kprobes, it works most anywhere.)  You can keep it
real primitive like now and just only work where there is exactly NOP5
sitting there.  Then all you're really asking for at build time is to
insert a gratuitous NOP5 at entry points.  A compiler tweak for that is a
pretty simple kludge, not even tied in to actual code generation magic.
You could probably even do it with crazy-ass asm/.o fiddling as is your wont.


Thanks,
Roland

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux