diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-01 14:22:03 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-01 14:22:03 -0200 |
commit | 04f26d1ecfddc240c64a2520332584646933322c (patch) | |
tree | 910d2f1cdcedc0a819d78cdba76ec42c4eeec430 | |
parent | 00a2aa467ae3a5a750df99f88f765e9b5829e493 (diff) | |
download | tuna-04f26d1ecfddc240c64a2520332584646933322c.tar.gz |
gui: Fixup perf.evlist constructor call
Now we pass cpus and maps to the evlist constructor, not to every other
method that needs it.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-x | tuna/gui/procview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tuna/gui/procview.py b/tuna/gui/procview.py index d011f13..db8c195 100755 --- a/tuna/gui/procview.py +++ b/tuna/gui/procview.py @@ -318,9 +318,9 @@ class procview: perf.SAMPLE_CPU | perf.SAMPLE_TID) self.evsel_cycles.open(cpus = self.cpu_map, threads = self.thread_map); - self.evlist = perf.evlist() + self.evlist = perf.evlist(self.cpu_map, self.thread_map) self.evlist.add(self.evsel_cycles) - self.evlist.mmap(cpus = self.cpu_map, threads = self.thread_map) + self.evlist.mmap() self.pollfd = self.evlist.get_pollfd() for f in self.pollfd: gobject.io_add_watch(f, gtk.gdk.INPUT_READ, self.perf_process_events) |