lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon,  1 Sep 2014 17:44:54 +0400
From:	Alexander Yarygin <>
Cc:	Alexander Yarygin <>,
	Arnaldo Carvalho de Melo <>,
	Christian Borntraeger <>,
	David Ahern <>,
	Ingo Molnar <>, Jiri Olsa <>,
	Paul Mackerras <>,
	Peter Zijlstra <>
Subject: [PATCH 2/3] perf kvm stat report: Enable the target.system_wide flag

The 'perf kvm stat report' command can be used to analyze events either
for system wide or for specific pids. Let's enable
kvm-> flag when 'report' command is running for
system-wide analyzing. This helps to sync kvm-> values in
'report' and 'live' commands.

Cc: Arnaldo Carvalho de Melo <>
Cc: Christian Borntraeger <>
Cc: David Ahern <>
Cc: Ingo Molnar <>
Cc: Jiri Olsa <>
Cc: Paul Mackerras <>
Cc: Peter Zijlstra <>
Signed-off-by: Alexander Yarygin <>
 tools/perf/builtin-kvm.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c
index ad73476..b7fa0bc 100644
--- a/tools/perf/builtin-kvm.c
+++ b/tools/perf/builtin-kvm.c
@@ -1212,6 +1212,9 @@ kvm_events_report(struct perf_kvm_stat *kvm, int argc, const char **argv)
+	if (!kvm->
+		kvm-> = true;
 	return kvm_events_report_vcpu(kvm);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists