diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-01-28 11:14:42 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-28 11:51:54 +0000 |
commit | 1d999540bddd7aea7c2d0fef8b15223d4acc645f (patch) | |
tree | 7fc83c8fba64776b1d78ea00c477a2212a8ce945 /python/examples/inspect_vm.py | |
parent | 77df7d6d537cebe05e06bf07e6e4a2082fe6656a (diff) | |
download | libguestfs-1d999540bddd7aea7c2d0fef8b15223d4acc645f.tar.gz libguestfs-1d999540bddd7aea7c2d0fef8b15223d4acc645f.tar.xz libguestfs-1d999540bddd7aea7c2d0fef8b15223d4acc645f.zip |
Add a prefix to output when tracing (RHBZ#673479).
Also separate the call and return lines so that everything can be
easily 'grepped' from debug output. The trace output now looks like
this:
$ guestfish -x -N fs exit
libguestfs: trace: is_config
libguestfs: trace: is_config = 1
libguestfs: trace: add_drive "test1.img"
libguestfs: trace: add_drive = 0
libguestfs: trace: is_config
libguestfs: trace: is_config = 1
libguestfs: trace: launch
libguestfs: trace: launch = 0
libguestfs: trace: part_disk "/dev/sda" "mbr"
libguestfs: trace: part_disk = 0
&c.
Diffstat (limited to 'python/examples/inspect_vm.py')
0 files changed, 0 insertions, 0 deletions