systemtap perf dep.

This commit is contained in:
Ertuğrul Erata
2017-11-24 23:02:06 +03:00
parent be5ac6bf94
commit b8a5e60c29
13 changed files with 139864 additions and 138696 deletions
@@ -0,0 +1,10 @@
--- ./runtime/linux/access_process_vm.h 2017-02-17 18:37:01.000000000 +0100
+++ /usr/share/systemtap/runtime/linux/access_process_vm.h 2017-08-09 11:47:50.332532411 +0200
@@ -4,6 +4,7 @@
* we copied and pasted it here. Fortunately, everything it calls is exported.
*/
#include <linux/pagemap.h>
+#include <linux/sched/mm.h>
#include <asm/cacheflush.h>
static int
@@ -0,0 +1,11 @@
--- ./runtime/stp_utrace.c 2017-02-17 18:37:01.000000000 +0100
+++ /usr/share/systemtap/runtime/stp_utrace.c 2017-08-09 11:59:21.542501780 +0200
@@ -1105,7 +1105,7 @@
*/
spin_lock_irq(&target->sighand->siglock);
if (likely(task_is_stopped(target)))
- __set_task_state(target, TASK_TRACED);
+ set_current_state(TASK_TRACED);
spin_unlock_irq(&target->sighand->siglock);
} else if (utrace->resume > UTRACE_REPORT) {
utrace->resume = UTRACE_REPORT;
+2
View File
@@ -0,0 +1,2 @@
d /run/stap-server 0755 root root
d /run/systemtap 0755 root root