Package: percona-toolkit
Version: 1.0.1-1
Severity: normal
Tags: patch
pt-tcp-model complains about "Use of uninitialized value in printf at /usr/bin
/pt-tcp-model line 1990, <> line 3." when run with --type=requests
Bug is fixed upstream but no in a released version:
http://code.google.com/p/maatkit/issues/detail?id=1341&q=mk-tcp-
model&colspec=ID%20Type%20Tool%20Summary
Patch which fixes the problem is attached.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages percona-toolkit depends on:
ii gdb 7.3-1+b1
ii libdbd-mysql-perl 4.020-1
ii libdbi-perl 1.616-1+b1
ii libterm-readkey-perl 2.30-4+b1
ii perl 5.12.4-6
percona-toolkit recommends no packages.
percona-toolkit suggests no packages.
-- no debconf information
--- /usr/bin/pt-tcp-model 2011-09-23 00:06:11.000000000 +0200
+++ /home/kriller/bin/pt-tcp-model 2011-11-15 11:36:35.944482984 +0100
@@ -1988,7 +1988,7 @@
else {
printf "%s %5.2f %9.3f %5d %5d %.6f %.6f %.6f %.6f %.6f %.6f\n",
@{$event}{qw(
- ts concurrency throughput arrivals completions res_time
+ ts concurrency throughput arrivals completions busy_time
weighted_time sum_time variance_mean quantile_time obs_time)};
}
$pr->update($tell) if $pr;