Blame SOURCES/tuna-remove-import-and-fix-help-message.patch
|
|
81c498 |
From bef2c2009ed5151cf7ae4bf258a908c9f577ca7d Mon Sep 17 00:00:00 2001
|
|
|
81c498 |
From: Leah Leshchinsky <lleshchi@redhat.com>
|
|
|
81c498 |
Date: Wed, 2 Nov 2022 11:16:48 -0400
|
|
|
81c498 |
Subject: [PATCH 1/2] tuna: remove import and fix help message
|
|
|
81c498 |
|
|
|
81c498 |
Remove getopt import and fix help message for 'spread' command.
|
|
|
81c498 |
|
|
|
81c498 |
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
|
|
|
81c498 |
|
|
|
81c498 |
diff --git a/tuna-cmd.py b/tuna-cmd.py
|
|
|
81c498 |
index 44d9faaf15fb..4ac01f4f4522 100755
|
|
|
81c498 |
--- a/tuna-cmd.py
|
|
|
81c498 |
+++ b/tuna-cmd.py
|
|
|
81c498 |
@@ -21,7 +21,6 @@ import os
|
|
|
81c498 |
import sys
|
|
|
81c498 |
import errno
|
|
|
81c498 |
import re
|
|
|
81c498 |
-import getopt
|
|
|
81c498 |
import fnmatch
|
|
|
81c498 |
import gettext
|
|
|
81c498 |
import locale
|
|
|
81c498 |
@@ -140,7 +139,7 @@ def gen_parser():
|
|
|
81c498 |
help="Allow all threads to run on CPU-LIST")
|
|
|
81c498 |
move = subparser.add_parser('move', description="Move selected entities to CPU-LIST",
|
|
|
81c498 |
help="Move selected entities to CPU-LIST")
|
|
|
81c498 |
- spread = subparser.add_parser('spread', description="Move selected entities to CPU-LIST",
|
|
|
81c498 |
+ spread = subparser.add_parser('spread', description="Spread selected entities to CPU-LIST",
|
|
|
81c498 |
help="Spread selected entities over CPU-LIST")
|
|
|
81c498 |
priority = subparser.add_parser('priority', description="Set thread scheduler tunables: POLICY and RTPRIO",
|
|
|
81c498 |
help="Set thread scheduler tunables: POLICY and RTPRIO")
|
|
|
81c498 |
--
|
|
|
81c498 |
2.31.1
|
|
|
81c498 |
|