diff options
Diffstat (limited to 'tools/perf/arch/s390/util/kvm-stat.c')
| -rw-r--r-- | tools/perf/arch/s390/util/kvm-stat.c | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/perf/arch/s390/util/kvm-stat.c b/tools/perf/arch/s390/util/kvm-stat.c index f852f2a77e0a..0fd4e9f49ed0 100644 --- a/tools/perf/arch/s390/util/kvm-stat.c +++ b/tools/perf/arch/s390/util/kvm-stat.c @@ -7,6 +7,7 @@   */  #include <errno.h> +#include <string.h>  #include "../../util/kvm-stat.h"  #include "../../util/evsel.h"  #include <asm/sie.h> @@ -23,7 +24,7 @@ const char *kvm_exit_reason = "icptcode";  const char *kvm_entry_trace = "kvm:kvm_s390_sie_enter";  const char *kvm_exit_trace = "kvm:kvm_s390_sie_exit"; -static void event_icpt_insn_get_key(struct perf_evsel *evsel, +static void event_icpt_insn_get_key(struct evsel *evsel,  				    struct perf_sample *sample,  				    struct event_key *key)  { @@ -34,7 +35,7 @@ static void event_icpt_insn_get_key(struct perf_evsel *evsel,  	key->exit_reasons = sie_icpt_insn_codes;  } -static void event_sigp_get_key(struct perf_evsel *evsel, +static void event_sigp_get_key(struct evsel *evsel,  			       struct perf_sample *sample,  			       struct event_key *key)  { @@ -42,7 +43,7 @@ static void event_sigp_get_key(struct perf_evsel *evsel,  	key->exit_reasons = sie_sigp_order_codes;  } -static void event_diag_get_key(struct perf_evsel *evsel, +static void event_diag_get_key(struct evsel *evsel,  			       struct perf_sample *sample,  			       struct event_key *key)  { @@ -50,7 +51,7 @@ static void event_diag_get_key(struct perf_evsel *evsel,  	key->exit_reasons = sie_diagnose_codes;  } -static void event_icpt_prog_get_key(struct perf_evsel *evsel, +static void event_icpt_prog_get_key(struct evsel *evsel,  				    struct perf_sample *sample,  				    struct event_key *key)  {  |