Uprobe not getting enabled (kprobe disabled in 'General Setup' in config file)

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

 



Hi,

I have disabled some options in kernel config file and rebuilt in an
effort to reduce scheduler latency in my real time (preempt_rt
patched) kernel.
Disabled kprobes in general setup too.

After this, I am not able to enable uprobe. I was facing no issue
earlier, with default kernel config file with preempt_rt patch in
tracing functions using uprobe.

objdump file excerpt:
-------------------------------

0000000000408e8c <func>:
  408e8c:       55                      push   %rbp
  xxxxx
  xxxxx
  40dd1d:       e8 23 79 ff ff          callq  405645 <timeElapsed>
  xxxxx

terminal commands :
-------------------------------
root@brt:/home/brt/xxxxxxxx/out# echo 'p:func_entry test:0x40dd1d' >
/sys/kernel/debug/tracing/uprobe_events
root@brt:/home/brt/xxxxxxxx/out# cat /sys/kernel/debug/tracing/events/enable
0
root@brt:/home/brt/xxxxxxxx/out# echo 1 >
/sys/kernel/debug/tracing/events/uprobes/enable
root@brt:/home/brt/xxxxxxxx/out# cat
/sys/kernel/debug/tracing/events/uprobes/enable
0


Relevant config options:
-------------------------------
CONFIG_UPROBES=y
CONFIG_UPROBE_EVENT=y
CONFIG_PROBE_EVENTS=y

# CONFIG_KPROBES is not set


Does uprobe has any other dependency or config option that needs to be
setup? Even if there is any issue in uprobe string or text, the
tracing/events/uprobes/enable value should be able to be set once the
uprobe is added to the file.

Thank you,
Bhargav
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux