<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/tools/kvm, branch v4.12</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.12</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.12'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2017-03-29T10:01:33Z</updated>
<entry>
<title>tools/kvm_stat: add '%Total' column</title>
<updated>2017-03-29T10:01:33Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e55fe3ccccc1efb8f20c99728c8863424ae9ee4a'/>
<id>urn:sha1:e55fe3ccccc1efb8f20c99728c8863424ae9ee4a</id>
<content type='text'>
Add column '%Total' next to 'Total' for easier comparison of numbers between
hosts.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: add interactive command 'r'</title>
<updated>2017-03-29T10:01:32Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9f114a03c6854f49065dd036c17e1b4bb947f842'/>
<id>urn:sha1:9f114a03c6854f49065dd036c17e1b4bb947f842</id>
<content type='text'>
Provide an interactive command to reset the tracepoint statistics.
Requires some extra work for debugfs, as the counters cannot be reset.

On the up side, this offers us the opportunity to have debugfs values
reset on startup and whenever a filter is modified, becoming consistent
with the tracepoint provider. As a bonus, 'kvmstat -dt' will now provide
useful output, instead of mixing values in totally different orders of
magnitude.
Furthermore, we avoid unnecessary resets when any of the filters is
"changed" interactively to the previous value.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Acked-by: Janosch Frank &lt;frankja@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: add interactive command 'c'</title>
<updated>2017-03-29T10:01:32Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4443084fa0cf85f91d357c8917b90504b784d925'/>
<id>urn:sha1:4443084fa0cf85f91d357c8917b90504b784d925</id>
<content type='text'>
Provide a real simple way to erase any active filter.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: add option '--guest'</title>
<updated>2017-03-29T10:01:31Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f9ff1087354e5e063b96a291360a8de84bea0bed'/>
<id>urn:sha1:f9ff1087354e5e063b96a291360a8de84bea0bed</id>
<content type='text'>
Add a new option '-g'/'--guest' to select a particular process by providing
the QEMU guest name.
Notes:
- The logic to figure out the pid corresponding to the guest name might look
  scary, but works pretty reliably in practice; in the unlikely event that it
  returns add'l flukes, it will bail out and hint at using '-p' instead, no
  harm done.
- Mixing '-g' and '-p' is possible, and the final instance specified on the
  command line is the significant one. This is consistent with current
  behavior for '-p' which, if specified multiple times, also regards the final
  instance as the significant one.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Janosch Frank &lt;frankja@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: remove regex filter on empty input</title>
<updated>2017-03-29T10:01:30Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=645c1728a9d33d78028d93a2ed770f51df0a92c6'/>
<id>urn:sha1:645c1728a9d33d78028d93a2ed770f51df0a92c6</id>
<content type='text'>
Behavior on empty/0 input for regex and pid filtering was inconsistent, as
the former would keep the current filter, while the latter would (naturally)
remove any pid filtering.
Make things consistent by falling back to the default filter on empty input
for the regex filter dialogue.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: display regex when set to non-default</title>
<updated>2017-03-29T10:01:30Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=72187dfa8e2686b748ad7485d0ca59ba993ba526'/>
<id>urn:sha1:72187dfa8e2686b748ad7485d0ca59ba993ba526</id>
<content type='text'>
If a user defines a regex filter through the interactive command, display
the active regex in the header's second line.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: print error messages on faulty pid filter input</title>
<updated>2017-03-29T10:01:29Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0152c20f0400498774ae56067f8076cef312abc7'/>
<id>urn:sha1:0152c20f0400498774ae56067f8076cef312abc7</id>
<content type='text'>
Print helpful messages in case users enter invalid input or invalid pids in
the interactive pid filter dialogue.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: remove pid filter on empty input</title>
<updated>2017-03-29T10:01:29Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=be03ea3b77387db36617d71d60ee182a866fb9cd'/>
<id>urn:sha1:be03ea3b77387db36617d71d60ee182a866fb9cd</id>
<content type='text'>
Improve consistency in the interactive dialogue for pid filtering by
removing any filters on empty input (in addition to entering 0).

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-by: Janosch Frank &lt;frankja@linux.vnet.ibm.com&gt;
Reviewed-by: Marc Hartmayer &lt;mhartmay@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: display guest name when using pid filter</title>
<updated>2017-03-29T10:01:28Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a24e85f6a69f09a9d09a86110a6bb168c60610ef'/>
<id>urn:sha1:a24e85f6a69f09a9d09a86110a6bb168c60610ef</id>
<content type='text'>
When running kvm_stat with option '-p' to filter per process, display
the QEMU guest name next to the pid, if available.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Reviewed-By: Janosch Frank &lt;frankja@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/kvm_stat: document list of interactive commands</title>
<updated>2017-03-29T10:01:28Z</updated>
<author>
<name>Stefan Raspl</name>
<email>raspl@linux.vnet.ibm.com</email>
</author>
<published>2017-03-10T12:40:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1eaa2f9022d55a8d7249c42def8dc4b0d682e142'/>
<id>urn:sha1:1eaa2f9022d55a8d7249c42def8dc4b0d682e142</id>
<content type='text'>
Apart from the source code, there does not seem to be a place that documents
the interactive capabilities of kvm_stat yet.

Signed-off-by: Stefan Raspl &lt;raspl@linux.vnet.ibm.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
</feed>
