Public bug reported: Logging values in uprobes is very slow because any logging to a ring buffer requires a kernel trap. uprobes already has a trampoline of dynamically generated code mapped into user processes. With PTWRITE we could generate PTWRITE instructions there that log data items requested by the user in the uprobes configuration string. In theory the same could be also done for kprobes, although it is less critical there as kprobes already support fast software logging.
Target Kernel:4.11? Target Release: 17.10 ** Affects: firefox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1685693 Title: [Feature] GLK:Support generating PTWRITE in uprobes Status in firefox package in Ubuntu: New Bug description: Logging values in uprobes is very slow because any logging to a ring buffer requires a kernel trap. uprobes already has a trampoline of dynamically generated code mapped into user processes. With PTWRITE we could generate PTWRITE instructions there that log data items requested by the user in the uprobes configuration string. In theory the same could be also done for kprobes, although it is less critical there as kprobes already support fast software logging. Target Kernel:4.11? Target Release: 17.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1685693/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp