public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Tom Zanussi <tom.zanussi@intel.com>
Cc: Darren Hart <dvhart@linux.intel.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Tom Zanussi <tom.zanussi@intel.com>
Subject: [PATCH 3/3] trace-cmd: correct trace._handle usage in event-viewer.py
Date: Tue,  4 Jan 2011 12:43:40 -0800	[thread overview]
Message-ID: <1294173820-7043-4-git-send-email-dvhart@linux.intel.com> (raw)
In-Reply-To: <1294173820-7043-1-git-send-email-dvhart@linux.intel.com>

The handle member object was changed to _handle, correct the usage
in event-viewer.py.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Tom Zanussi <tom.zanussi@intel.com>
---
 event-viewer.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/event-viewer.py b/event-viewer.py
index 6f35642..28afca2 100755
--- a/event-viewer.py
+++ b/event-viewer.py
@@ -66,13 +66,13 @@ class EventStore(gtk.GenericTreeModel):
         print "Building trace index..."
         index = 0
         for cpu in range(0, trace.cpus):
-            rec = tracecmd_read_data(self.trace.handle, cpu)
+            rec = tracecmd_read_data(self.trace._handle, cpu)
             while rec:
                 offset = record_offset_get(rec)
                 ts = record_ts_get(rec)
                 self.refs.append(self.EventRef(index, ts, offset, cpu))
                 index = index + 1
-                rec = tracecmd_read_data(self.trace.handle, cpu)
+                rec = tracecmd_read_data(self.trace._handle, cpu)
         print "Loaded %d events from trace" % (index)
 
     @timing
-- 
1.7.1


  parent reply	other threads:[~2011-01-04 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 20:43 trace-cmd: fix python bindings Darren Hart
2011-01-04 20:43 ` [PATCH 1/3] trace-cmd: move *_tracing_file into trace-util.c Darren Hart
2011-01-04 20:43 ` [PATCH 2/3] trace-cmd: move trace-usage to lib objects Darren Hart
2011-01-04 20:43 ` Darren Hart [this message]
2011-01-05  1:27 ` trace-cmd: fix python bindings Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294173820-7043-4-git-send-email-dvhart@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tom.zanussi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox