From 958e46acc8e900e8569dd467c1af9b8d2d019394 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 08:38:54 +0000 Subject: [PATCH] disable cpu isolcpus --- kernel/tools/perf/scripts/python/sched-migration.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/tools/perf/scripts/python/sched-migration.py b/kernel/tools/perf/scripts/python/sched-migration.py index 3473e7f..8196e30 100644 --- a/kernel/tools/perf/scripts/python/sched-migration.py +++ b/kernel/tools/perf/scripts/python/sched-migration.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Cpu task migration overview toy # # Copyright (C) 2010 Frederic Weisbecker <fweisbec@gmail.com> @@ -16,10 +14,10 @@ from collections import defaultdict try: - from UserList import UserList + from UserList import UserList except ImportError: - # Python 3: UserList moved to the collections package - from collections import UserList + # Python 3: UserList moved to the collections package + from collections import UserList sys.path.append(os.environ['PERF_EXEC_PATH'] + \ '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') -- Gitblit v1.6.2