Kprobe on Linux Scheduler and finding linux scheduler -


i have 2 question: 1 - in fedora source code, can find scheduler code? 2 - can put kprobe in fedora scheduler? (or can use register_kprobe() in fedora scheduler?) thanks.

scheduler code found under kernel/sched/ directory on latest source code (this core file: http://lxr.linux.no/linux+*/kernel/sched/core.c).

you can insert kprobe hooks anywhere in kernel source not everywhere list found under list /sys/kernel/debug/kprobes/list (assuming you've kprobe enabled kernel, , mounted).


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -