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]

[Bug translator/16764] registration error (rc -22): probe kernel.function("context_switch at kernel/sched/core.c:2105")


https://sourceware.org/bugzilla/show_bug.cgi?id=16764

--- Comment #4 from Frank Ch. Eigler <fche at redhat dot com> ---
Thank you for your high-quality problem report.  I can reproduce it
immediately on my f19 x86-64 workstation.

The error value is coming from the kernel, and represents some
sort of problem the kprobes layer.  Disassembly of the region shows
this instruction within the inlined muck that makes up the
context_switch / __schedule clique.

ffffffff81683d78:       0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)

I'm not sure why the kernel is rejecting a kprobe on that nop; it could
be a kernel-disassembler problem or some sort of blacklist.  It does not
appear to represent a systemtap bug, so closing as INVALID.


Luckily, approximately the same spot can be probed via tracepoints:

probe kernel.trace("sched_switch") { }

-- 
You are receiving this mail because:
You are the assignee for the bug.


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