summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-01 16:39:12 -0700
committerJosh Stone <jistone@redhat.com>2009-04-01 16:39:12 -0700
commitf3921e808cc95592308727d011d7718f053008e2 (patch)
tree9c9607d35b5b4c9578b057627d4542836b67875c
parent489afa702639fd10e9756795bd516d939766247d (diff)
downloadsystemtap-steved-f3921e808cc95592308727d011d7718f053008e2.tar.gz
systemtap-steved-f3921e808cc95592308727d011d7718f053008e2.tar.xz
systemtap-steved-f3921e808cc95592308727d011d7718f053008e2.zip
Revert "Fix runtime/itrace.c to call arch_has_*_step() prior to calling utrace_control"
This reverts commit 489afa702639fd10e9756795bd516d939766247d.
-rw-r--r--runtime/itrace.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/runtime/itrace.c b/runtime/itrace.c
index 69f3bf74..97ba427e 100644
--- a/runtime/itrace.c
+++ b/runtime/itrace.c
@@ -318,19 +318,6 @@ static int usr_itrace_init(int single_step, pid_t tid, struct stap_itrace_probe
struct task_struct *tsk;
spin_lock_init(&itrace_lock);
-
- /* 'arch_has_single_step' needs to be defined for either single step mode
- * or branch mode.
- */
- if (!arch_has_single_step()) {
- printk(KERN_ERR "usr_itrace_init: arch does not support step mode\n");
- return 1;
- }
- if (!single_step && !arch_has_block_step()) {
- printk(KERN_ERR "usr_itrace_init: arch does not support block step mode\n");
- return 1;
- }
-
rcu_read_lock();
#ifdef STAPCONF_FIND_TASK_PID
tsk = find_task_by_pid(tid);