From 11d808c89d6c12a13a88c381cb55f4055ddb4c44 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 30 Jul 2020 18:24:07 -0700 Subject: [PATCH] fix locationd profiling old-commit-hash: 1d7f4bc3b19d38464513c377511836221f77a95a --- selfdrive/test/profiling/lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/test/profiling/lib.py b/selfdrive/test/profiling/lib.py index 997b48f673..017b9a2588 100644 --- a/selfdrive/test/profiling/lib.py +++ b/selfdrive/test/profiling/lib.py @@ -37,6 +37,7 @@ class PubSocket(): class SubMaster(messaging.SubMaster): def __init__(self, msgs, trigger, services): # pylint: disable=super-init-not-called + msgs = [m for m in msgs if m.which() in services] self.max_i = len(msgs) - 1 self.i = 0 self.frame = 0