Re: [PATCH] perf kvm stat: unify print_vcpu_info() for report/live

2014-08-29 Thread David Ahern
On 8/29/14, 6:20 AM, Alexander Yarygin wrote: So, should I resend it with 2 patches? It would be simpler that way. Change the pid handling first and then the title. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker

Re: [PATCH] perf kvm stat: unify print_vcpu_info() for report/live

2014-08-29 Thread Alexander Yarygin
David Ahern writes: > On 8/28/14, 10:17 AM, Alexander Yarygin wrote: >> The print_vcpu_info() function prints title line "Analyze events ..." >> with a description of the current target. For 'live' option, the >> output includes "system-wide/specific pids, all vcpus/specific vcpus". >> Example: >

Re: [PATCH] perf kvm stat: unify print_vcpu_info() for report/live

2014-08-28 Thread David Ahern
On 8/28/14, 10:17 AM, Alexander Yarygin wrote: The print_vcpu_info() function prints title line "Analyze events ..." with a description of the current target. For 'live' option, the output includes "system-wide/specific pids, all vcpus/specific vcpus". Example: $ sudo perf kvm stat live -p 1 Anal

[PATCH] perf kvm stat: unify print_vcpu_info() for report/live

2014-08-28 Thread Alexander Yarygin
The print_vcpu_info() function prints title line "Analyze events ..." with a description of the current target. For 'live' option, the output includes "system-wide/specific pids, all vcpus/specific vcpus". Example: $ sudo perf kvm stat live -p 1 Analyze events for pid(s) 1, all VCPUs: [..] But for