summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-07-11 16:05:31 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2009-07-11 16:05:31 -0300
commit1e7b15a194e8442d959f57112a9cbd257e16fecc (patch)
treeaa5b6cdd31b8487be1f5a243117851069ae647ab
parent61479be57bb6b23075a70c575559932043e2642c (diff)
downloadtuna-1e7b15a194e8442d959f57112a9cbd257e16fecc.tar.gz
package structure: Changes done for compliance with Fedora packaging guidelines
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--ChangeLog82
-rw-r--r--MANIFEST3
-rw-r--r--rpm/SPECS/tuna.spec115
-rwxr-xr-x[-rw-r--r--]tuna/__init__.py0
-rwxr-xr-x[-rw-r--r--]tuna/gui/__init__.py0
-rwxr-xr-x[-rw-r--r--]tuna/gui/cpuview.py0
-rwxr-xr-x[-rw-r--r--]tuna/gui/irqview.py0
-rwxr-xr-x[-rw-r--r--]tuna/gui/procview.py0
-rwxr-xr-x[-rw-r--r--]tuna/gui/util.py0
-rwxr-xr-x[-rw-r--r--]tuna/sysfs.py0
-rwxr-xr-x[-rw-r--r--]tuna/tuna_gui.py0
11 files changed, 100 insertions, 100 deletions
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..5089634
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,82 @@
+* Wed May 13 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-1
+- cmdline: add --show_sockets/-n
+
+* Mon Oct 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.8.4-1
+- cmdline: Allow globbing --irqs/-q
+- cmdline: Allow globbing --threads/-t
+- cmdline: Support regex on --thread
+- cmdline: Check if thread names resolved to TIDs
+- irqview: We have to pass an int to schedutils.setscheduler
+- irqview: Initialize the rt_prio entry box
+- gui: move procview to a separate file
+- gui: Move irqview to a separate file
+- gui: remove the Set/set trick in tuna/tuna_gui.py, not used anymore
+- gui: Use schedutils.SCHED_{OTHER,FIFO,RR}
+- gui: move cpuview classes to a separate file
+- gui: Stop handling exceptions at procview.set_thread_columns
+- oscilloscope: Ignore invalid samples, emitting just a warning
+
+* Mon Oct 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.8-1
+- [Non]VolCtxtSwitch columns should be represented in the GUI as unsigned
+- Several spelling fixes
+- Handle some more schedutils exceptions
+- Fix getopt long option for --priority, it requires an arg
+- Set the irq affinity mask when setting a IRQ thread affinity
+- Add a --spread command line option, it will spread the threads
+ passed thru --threads into the cpus specified in --cpu or --socket.
+
+* Mon Sep 15 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.7-1
+- CPU topology support: operations now can be performed on CPU sockets in
+ addition to individual CPUs
+- --show_threads: command line now can see the same information available
+ in the GUI
+
+* Tue Aug 12 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.6-1
+- tuna: posix_cpu_timer is percpu but its too long to have '/' in the cmdline
+- tuna: Fixup the message about what filename was really used (rtgroups)
+- tuna: Save the affinity mask for non-percpu kthreads
+- tuna: Ignore rtprio when changing sched policy to SCHED_OTHER
+
+* Thu Aug 7 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.5-1
+- tuna_gui: Provide instructions on how to use the generated rtctl file
+- tuna_gui: Add "Save kthreads tunings" menu entry in the process list box
+- tuna: Implement saving current kthread sched policy and rtprio as an rtctl file
+- help: Add more kernel thread help texts, written by the MRG crew
+
+* Tue Jun 17 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4-1
+- oscilloscope subpackage
+- oscilloscope: Allow passing the number of samples to appear on screen
+- oscilloscope: use io_add_watch instead of timeout_add
+- oscilloscope: check if the latency tracer is available
+- oscilloscope: Allow disabling auto-scaling
+- oscilloscope: group the system info and help frames in a vbox
+- oscilloscope: parse X geometry parameter
+- tuna: Convert widget coords to bin_window coords
+- tuna: Implement --affect_children and --priority
+
+* Fri May 16 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-1
+- Add oscilloscope command, initially useful with signaltest and cyclictest,
+ but will also be used with the latencytest utility in the qpid project and
+ with any other source of signals. Requires python-matplotlib, that will
+ be added to the MRG repo soon.
+- Allow toggling auto-refresh from the irq and threads views
+- Changes to make tuna work on older RHEL versions, helpful when evaluating
+ RHEL-RT components.
+- Allow using tuna without GUI libraries installed, please see:
+ tuna --help
+ For available commands.
+- Several fixes
+
+* Thu Mar 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.2-1
+- Command line interface
+- Remove the requirement of a GUI packages
+- Allow moving one child thread to a CPU
+- Status icon
+- "What is this?", for now just for some kernel threads
+- Add "Restore CPU" to undo "Isolate CPU"
+- Faster CPU isolation process
+- Allow moving IRQs & Threads to all cpus
+- CPU filtering
+
+* Mon Feb 26 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
+- package created
diff --git a/MANIFEST b/MANIFEST
index 88eb013..1bfb581 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -17,4 +17,5 @@ MANIFEST
po/LINGUAS
po/POTFILES.in
po/ja.po
-po/tuna.pot
+po/pt_BR.po
+ChangeLog
diff --git a/rpm/SPECS/tuna.spec b/rpm/SPECS/tuna.spec
index a54e6dc..c926997 100644
--- a/rpm/SPECS/tuna.spec
+++ b/rpm/SPECS/tuna.spec
@@ -6,7 +6,7 @@ Version: 0.9
Release: 1%{?dist}
License: GPLv2
Summary: Application tuning GUI & command line utility
-Group: Application/System
+Group: Applications/System
Source: http://userweb.kernel.org/~acme/tuna/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: python-devel
@@ -18,17 +18,17 @@ Requires: python-schedutils >= 0.2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
-Provides interface for changing scheduler and IRQ tunables, at whole CPU and at per
-thread/IRQ level. Allows isolating CPUs for use by a specific application and moving
-threads and interrupts to a CPU by just dragging and dropping them. Operations can
-be done on CPU sockets, understanding CPU topology.
+Provides interface for changing scheduler and IRQ tunables, at whole CPU and at
+per thread/IRQ level. Allows isolating CPUs for use by a specific application
+and moving threads and interrupts to a CPU by just dragging and dropping them.
+Operations can be done on CPU sockets, understanding CPU topology.
Can be used as a command line utility without requiring the GUI libraries to be
installed.
%package -n oscilloscope
Summary: Generic Oscilloscope
-Group: Application/System
+Group: Applications/System
Requires: python-matplotlib
Requires: python-numeric
Requires: pygtk2
@@ -61,111 +61,28 @@ install -m644 help/kthreads/* %{buildroot}/%{_datadir}/tuna/help/kthreads/
for lng in `cat po/LINGUAS`; do
po=po/"$lng.po"
mkdir -p %{buildroot}/%{_datadir}/locale/${lng}/LC_MESSAGES
- msgfmt $po -o %{buildroot}/%{_datadir}/locale/${lng}/LC_MESSAGES/tuna.mo
+ msgfmt $po -o %{buildroot}/%{_datadir}/locale/${lng}/LC_MESSAGES/%{name}.mo
done
+%find_lang %name
%clean
rm -rf %{buildroot}
-%files
-%defattr(0755,root,root,0755)
-%{_bindir}/tuna
-%dir %{_datadir}/tuna/
-%{_datadir}/tuna/tuna_gui.glade
-%dir %{_datadir}/tuna/help
-%dir %{_datadir}/tuna/help/kthreads/
-%{_datadir}/tuna/help/kthreads/*
-%{_datadir}/locale/*/LC_MESSAGES/*.mo
-%{python_sitelib}/tuna/
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc ChangeLog
%if "%{python_ver}" >= "2.5"
%{python_sitelib}/*.egg-info
%endif
+%{_bindir}/tuna
+%{_datadir}/tuna/
+%{python_sitelib}/tuna/
%files -n oscilloscope
%defattr(0755,root,root,0755)
%{_bindir}/oscilloscope
%changelog
-* Wed May 13 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-1
-- cmdline: add --show_sockets/-n
-
-* Mon Oct 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.8.4-1
-- cmdline: Allow globbing --irqs/-q
-- cmdline: Allow globbing --threads/-t
-- cmdline: Support regex on --thread
-- cmdline: Check if thread names resolved to TIDs
-- irqview: We have to pass an int to schedutils.setscheduler
-- irqview: Initialize the rt_prio entry box
-- gui: move procview to a separate file
-- gui: Move irqview to a separate file
-- gui: remove the Set/set trick in tuna/tuna_gui.py, not used anymore
-- gui: Use schedutils.SCHED_{OTHER,FIFO,RR}
-- gui: move cpuview classes to a separate file
-- gui: Stop handling exceptions at procview.set_thread_columns
-- oscilloscope: Ignore invalid samples, emitting just a warning
-
-* Mon Oct 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.8-1
-- [Non]VolCtxtSwitch columns should be represented in the GUI as unsigned
-- Several spelling fixes
-- Handle some more schedutils exceptions
-- Fix getopt long option for --priority, it requires an arg
-- Set the irq affinity mask when setting a IRQ thread affinity
-- Add a --spread command line option, it will spread the threads
- passed thru --threads into the cpus specified in --cpu or --socket.
-
-* Mon Sep 15 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.7-1
-- CPU topology support: operations now can be performed on CPU sockets in
- addition to individual CPUs
-- --show_threads: command line now can see the same information available
- in the GUI
-
-* Tue Aug 12 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.6-1
-- tuna: posix_cpu_timer is percpu but its too long to have '/' in the cmdline
-- tuna: Fixup the message about what filename was really used (rtgroups)
-- tuna: Save the affinity mask for non-percpu kthreads
-- tuna: Ignore rtprio when changing sched policy to SCHED_OTHER
-
-* Thu Aug 7 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.5-1
-- tuna_gui: Provide instructions on how to use the generated rtctl file
-- tuna_gui: Add "Save kthreads tunings" menu entry in the process list box
-- tuna: Implement saving current kthread sched policy and rtprio as an rtctl file
-- help: Add more kernel thread help texts, written by the MRG crew
-
-* Tue Jun 17 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4-1
-- oscilloscope subpackage
-- oscilloscope: Allow passing the number of samples to appear on screen
-- oscilloscope: use io_add_watch instead of timeout_add
-- oscilloscope: check if the latency tracer is available
-- oscilloscope: Allow disabling auto-scaling
-- oscilloscope: group the system info and help frames in a vbox
-- oscilloscope: parse X geometry parameter
-- tuna: Convert widget coords to bin_window coords
-- tuna: Implement --affect_children and --priority
-
-* Fri May 16 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-1
-- Add oscilloscope command, initially useful with signaltest and cyclictest,
- but will also be used with the latencytest utility in the qpid project and
- with any other source of signals. Requires python-matplotlib, that will
- be added to the MRG repo soon.
-- Allow toggling auto-refresh from the irq and threads views
-- Changes to make tuna work on older RHEL versions, helpful when evaluating
- RHEL-RT components.
-- Allow using tuna without GUI libraries installed, please see:
- tuna --help
- For available commands.
-- Several fixes
-
-* Thu Mar 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.2-1
-- Command line interface
-- Remove the requirement of a GUI packages
-- Allow moving one child thread to a CPU
-- Status icon
-- "What is this?", for now just for some kernel threads
-- Add "Restore CPU" to undo "Isolate CPU"
-- Faster CPU isolation process
-- Allow moving IRQs & Threads to all cpus
-- CPU filtering
-
-* Mon Feb 26 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
-- package created
+* Fri Jul 10 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-1
+- Fedora package reviewing changes: introduce ChangeLog file
diff --git a/tuna/__init__.py b/tuna/__init__.py
index 30924a0..30924a0 100644..100755
--- a/tuna/__init__.py
+++ b/tuna/__init__.py
diff --git a/tuna/gui/__init__.py b/tuna/gui/__init__.py
index 0fe9f30..0fe9f30 100644..100755
--- a/tuna/gui/__init__.py
+++ b/tuna/gui/__init__.py
diff --git a/tuna/gui/cpuview.py b/tuna/gui/cpuview.py
index 5c32701..5c32701 100644..100755
--- a/tuna/gui/cpuview.py
+++ b/tuna/gui/cpuview.py
diff --git a/tuna/gui/irqview.py b/tuna/gui/irqview.py
index 4bdce64..4bdce64 100644..100755
--- a/tuna/gui/irqview.py
+++ b/tuna/gui/irqview.py
diff --git a/tuna/gui/procview.py b/tuna/gui/procview.py
index 70d96bc..70d96bc 100644..100755
--- a/tuna/gui/procview.py
+++ b/tuna/gui/procview.py
diff --git a/tuna/gui/util.py b/tuna/gui/util.py
index 7c01a14..7c01a14 100644..100755
--- a/tuna/gui/util.py
+++ b/tuna/gui/util.py
diff --git a/tuna/sysfs.py b/tuna/sysfs.py
index bfb84b4..bfb84b4 100644..100755
--- a/tuna/sysfs.py
+++ b/tuna/sysfs.py
diff --git a/tuna/tuna_gui.py b/tuna/tuna_gui.py
index 48b2c24..48b2c24 100644..100755
--- a/tuna/tuna_gui.py
+++ b/tuna/tuna_gui.py