Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336167
b: refs/heads/master
c: 7321090
h: refs/heads/master
i:
  336165: 53e05fd
  336163: a33aac5
  336159: f8d92d6
v: v3
  • Loading branch information
Xiao Guangrong authored and Arnaldo Carvalho de Melo committed Nov 23, 2012
1 parent bdac573 commit 260bf4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3786063a3c0ba26a2400a04476c0c0ccfd3c6beb
refs/heads/master: 7321090f6751c9987c26a8c81c63680d16a614d7
4 changes: 4 additions & 0 deletions trunk/tools/perf/builtin-kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <pthread.h>
#include <math.h>

#if defined(__i386__) || defined(__x86_64__)
#include <asm/svm.h>
#include <asm/vmx.h>
#include <asm/kvm.h>
Expand Down Expand Up @@ -896,6 +897,7 @@ static int kvm_cmd_stat(const char *file_name, int argc, const char **argv)
perf_stat:
return cmd_stat(argc, argv, NULL);
}
#endif

static int __cmd_record(const char *file_name, int argc, const char **argv)
{
Expand Down Expand Up @@ -1018,8 +1020,10 @@ int cmd_kvm(int argc, const char **argv, const char *prefix __maybe_unused)
return cmd_top(argc, argv, NULL);
else if (!strncmp(argv[0], "buildid-list", 12))
return __cmd_buildid_list(file_name, argc, argv);
#if defined(__i386__) || defined(__x86_64__)
else if (!strncmp(argv[0], "stat", 4))
return kvm_cmd_stat(file_name, argc, argv);
#endif
else
usage_with_options(kvm_usage, kvm_options);

Expand Down

0 comments on commit 260bf4a

Please sign in to comment.