[PATCH 0/2] python-linux-procfs and pflag changes
by John Kacur
Please pick-up the following patches
You can also fetch them via git
Repo: git://git.kernel.org:/pub/scm/linux/kernel/git/jkacur/python-schedutils.git
Branch: jkacur/jkacur/rhel8-py3
John Kacur (2):
procfs: Reduce not in python3 by default
python-linux-procfs: pflags: Use argparse to create a help option
pflags | 12 +++++++++---
procfs/procfs.py | 1 +
2 files changed, 10 insertions(+), 3 deletions(-)
--
2.19.1
5 years, 3 months
[PATCH 0/2] Fixes to isolate sockets with tuna and python3
by John Kacur
Please integrate the following two patches.
A problem was uncovered trying to isolate a socket using "tuna -S0 -i"
The problem was caused because python3 doesn't automatically supply a
method to compare class instances.
In addition, on hardware where trying to do this evokes an exception,
there was an a problem because exceptions are not iterable in python3.
To fix this you simply use the Exception args attribute
Repo: git://git.kernel.org/pub/scm/linux/kernel/git/jkacur/tuna.git
Branch: devel/tuna-py3
John Kacur (2):
tuna: sysfs.py: Add method to compare class cpu
tuna: Use exception args attribute for python3
tuna-cmd.py | 4 ++--
tuna/gui/util.py | 4 ++--
tuna/sysfs.py | 3 +++
tuna/tuna.py | 46 +++++++++++++++++++++++-----------------------
4 files changed, 30 insertions(+), 27 deletions(-)
--
2.19.2
5 years, 3 months