projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename the ctf class to CTFReader
[babeltrace.git]
/
bindings
/
python
/
examples
/
sequence_test.py
diff --git
a/bindings/python/examples/sequence_test.py
b/bindings/python/examples/sequence_test.py
index 403bdabf5efacdb86ce7e7b46a2052f2cfcacc74..4c8199c692a9982422cc8a28141f5247e4c7e82f 100644
(file)
--- a/
bindings/python/examples/sequence_test.py
+++ b/
bindings/python/examples/sequence_test.py
@@
-36,7
+36,7
@@
if trace_handle is None:
raise IOError("Error adding trace")
# Listing events
raise IOError("Error adding trace")
# Listing events
-lst =
ctf
.get_event_decl_list(trace_handle, ctx)
+lst =
CTFReader
.get_event_decl_list(trace_handle, ctx)
print("--- Event list ---")
for item in lst:
print("event : {}".format(item.get_name()))
print("--- Event list ---")
for item in lst:
print("event : {}".format(item.get_name()))
@@
-44,7
+44,7
@@
print("--- Done ---")
# Iter trace
bp = IterPos(SEEK_BEGIN)
# Iter trace
bp = IterPos(SEEK_BEGIN)
-ctf_it =
ctf
.Iterator(ctx,bp)
+ctf_it =
CTFReader
.Iterator(ctx,bp)
event = ctf_it.read_event()
while(event is not None):
event = ctf_it.read_event()
while(event is not None):
This page took
0.02427 seconds
and
4
git commands to generate.