aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fernandes <joelaf@google.com>2017-06-13 14:33:55 -0700
committerJoel Fernandes <joelaf@google.com>2017-06-13 14:33:55 -0700
commitaf0f1f0a1948a4554512179dcbb40115483eb6f0 (patch)
treecf9e229065d1cf9312a8cad15f934bcdb95dd72e
parent6dab7d29725d9a28b7dc7b645babe6b295439fd6 (diff)
downloadtrappy-af0f1f0a1948a4554512179dcbb40115483eb6f0.tar.gz
Revert "Fix for tgid patch, missed adding it to SchedSwitch"
This reverts commit 658ce8496f296f2483d034209c4e9a342d13329d.
-rw-r--r--trappy/sched.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trappy/sched.py b/trappy/sched.py
index ebcb79d..b8d9cc5 100644
--- a/trappy/sched.py
+++ b/trappy/sched.py
@@ -108,9 +108,9 @@ class SchedSwitch(Base):
def __init__(self):
super(SchedSwitch, self).__init__(parse_raw=True)
- def append_data(self, time, comm, pid, tgid, cpu, data):
+ def append_data(self, time, comm, pid, cpu, data):
data_rep = data.replace(" ==> ", " ")
- super(SchedSwitch, self).append_data(time, comm, pid, tgid, cpu,
+ super(SchedSwitch, self).append_data(time, comm, pid, cpu,
data_rep)
register_ftrace_parser(SchedSwitch, "sched")