diff options
author | Joel Fernandes <joelaf@google.com> | 2017-06-02 19:21:47 -0700 |
---|---|---|
committer | Joel Fernandes <joelaf@google.com> | 2017-06-02 19:42:35 -0700 |
commit | 658ce8496f296f2483d034209c4e9a342d13329d (patch) | |
tree | 11281ec970cdcacada9a235d5fcc793387a6bc1b | |
parent | da27bee4e96d3e2f4513d1f3394d781642ec2ce5 (diff) | |
download | trappy-658ce8496f296f2483d034209c4e9a342d13329d.tar.gz |
Fix for tgid patch, missed adding it to SchedSwitch
Change-Id: I80180a38171befd16f610e57b79cdd855976c102
Signed-off-by: Joel Fernandes <joelaf@google.com>
-rw-r--r-- | trappy/sched.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trappy/sched.py b/trappy/sched.py index b8d9cc5..ebcb79d 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, cpu, data): + def append_data(self, time, comm, pid, tgid, cpu, data): data_rep = data.replace(" ==> ", " ") - super(SchedSwitch, self).append_data(time, comm, pid, cpu, + super(SchedSwitch, self).append_data(time, comm, pid, tgid, cpu, data_rep) register_ftrace_parser(SchedSwitch, "sched") |