This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16764] New: registration error (rc -22): probe kernel.function("context_switch at kernel/sched/core.c:2105")
- From: "fahadaliarshad at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 27 Mar 2014 15:50:45 +0000
- Subject: [Bug translator/16764] New: registration error (rc -22): probe kernel.function("context_switch at kernel/sched/core.c:2105")
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16764
Bug ID: 16764
Summary: registration error (rc -22): probe
kernel.function("context_switch@kernel/sched/core.c:21
05")
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: fahadaliarshad at gmail dot com
Created attachment 7495
--> https://sourceware.org/bugzilla/attachment.cgi?id=7495&action=edit
stap -vvv -p2 -e 'probe kernel.function("context_switch") {printf("hit ")}'
I get the registration error (rc -22) when probing a scheduler
function("context_switch") of the latest kernel(3.13.6-100.fc19.x86_64).
Looking at the stap -vvv -p2,-p3 and DDEBUG_SYMBOLS, I am not able to pin the
problem. I also tried reinstalling the elfutils(0.156) but no success. I am not
sure whether it an OFFSET/reloc problem or there is something much deeper.
$ sudo stap -v --poison-cache -e 'probe kernel.function("context_switch")
{printf("hit ")}'
Pass 1: parsed user script and 149 library script(s) using
374144virt/189036res/3088shr/189200data kb, in 1360usr/140sys/1504real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 576788virt/337180res/105248shr/235180data kb, in 1010usr/110sys/1111real
ms.
Pass 3: translated to C into
"/tmp/stapaGyTsS/stap_d231a2ffb286405b384dfd0e8e6fb46e_950_src.c" using
576788virt/337316res/105384shr/235180data kb, in 0usr/0sys/4real ms.
Pass 4: compiled C into "stap_d231a2ffb286405b384dfd0e8e6fb46e_950.ko" in
6900usr/1100sys/8148real ms.
Pass 5: starting run.
WARNING: probe kernel.function("context_switch@kernel/sched/core.c:2105")
(address 0xffffffff81683d78) registration error (rc -22)
^CPass 5: run completed in 10usr/20sys/4223real ms.
Any quick help will be greatly appreciated.
Thanks
Fahad.
--
You are receiving this mail because:
You are the assignee for the bug.