Now that the command contains PATH, the autogenerated filename is very
ugly.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
v2: New patch in this version of the series.
---
 ts-logs-capture |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ts-logs-capture b/ts-logs-capture
index b2caa77..0081372 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -214,10 +214,11 @@ sub fetch_xenctx_guest ($) {
                $kernpath !~ m,/vmlinuz-, ? die "$kernpath ?" :
                "-s $`/System.map-$'";
            foreach my $iter (0..1) {
+               my $dfn = "$ho->{Name}-xenctx-$gho->{Name},vcpu$vcpu,i$iter";
                try_cmd_output_save(
                    'PATH=/usr/local/lib/xen/bin:/usr/lib/xen/bin:$PATH; '.
-                   "xenctx $sysmaparg $gho->{Domid} $vcpu"
-                   );
+                   "xenctx $sysmaparg $gho->{Domid} $vcpu",
+                   $dfn);
            }
         }
     }
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to