** Changed in: linux (Ubuntu)
       Status: In Progress => Fix Committed

** Changed in: ubuntu-z-systems
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1865858

Title:
  [20.04 FEAT] Enable proper kprobes on ftrace support

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  Our architecture backend already provides kprobes on ftrace support by
  allowing to setting a kprobe on the first instruction even if it is
  the ftrace nop or ftrace mcount instruction block.

  This however still means that an illegal instruction is placed to the
  first instruction, which causes an exception and subsequent single
  stepping of the replaced instruction.

  With proper kprobes on ftrace support there won't be an exception nor
  any single stepping - which means that kprobes placed at the first
  instruction will be much faster than now.

  As a side effect by implementing this both the ftrace as well as the
  kprobes code will get a bit simpler.

  Mandatory requirement for Performance Measurements!

  Code available with kernel 5.6
  
https://github.com/torvalds/linux/commit/657480d9c01574d1e11bbb29e725db9907daf782

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1865858/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to