s390/kvm_stat: correct sys_perf_event_open syscall number
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>
Mon, 29 Oct 2012 02:13:20 +0000 (02:13 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 29 Oct 2012 18:41:55 +0000 (19:41 +0100)
commit1b3e6f88dc151578acb6158e22570cf3ee7cbb69
tree1f3694aff150c9ea9332e0716c0d1af993063696
parent235a3f0bed3584fe65079ffa07c7a842971f261e
s390/kvm_stat: correct sys_perf_event_open syscall number

Correct sys_perf_event_open syscall number for s390 architecture
   - the hardcoded syscall number 298 is for x86 but should
     be different for other architectures.
     In case we figure out via /proc/cpuinfo that we are running
     on s390 the appropriate syscall number is used from map
     syscall_numbers; other architectures can extend this.

Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
scripts/kvm/kvm_stat