perf auxtrace: Add machine_pid and vcpu to auxtrace_error
Add machine_pid and vcpu to struct perf_record_auxtrace_error. The existing fmt member is used to identify the new format. The new members make it possible to easily differentiate errors from guest machines. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: kvm@vger.kernel.org Link: https://lore.kernel.org/r/20220711093218.10967-18-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
2273e46b98
commit
7151c1d178
@@ -279,6 +279,8 @@ struct perf_record_auxtrace_error {
|
||||
__u64 ip;
|
||||
__u64 time;
|
||||
char msg[MAX_AUXTRACE_ERROR_MSG];
|
||||
__u32 machine_pid;
|
||||
__u32 vcpu;
|
||||
};
|
||||
|
||||
struct perf_record_aux {
|
||||
|
||||
Reference in New Issue
Block a user