aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <[email protected]>2017-07-24 13:40:03 +0200
committerPaolo Bonzini <[email protected]>2017-07-26 18:57:44 +0200
commitfdeaf7e3eb37c6dbc4b4ac97dbe1945d239eb788 (patch)
tree85c15472318b860b001748fa9e7f0734f09b74d8 /tools/perf/util/trace-event-scripting.c
parentfa19871a166f6a940eb97dd511d3ddb1841ed95a (diff)
KVM: make pid available for uevents without debugfs
Simplify and improve the code so that the PID is always available in the uevent even when debugfs is not available. This adds a userspace_pid field to struct kvm, as per Radim's suggestion, so that the PID can be retrieved on destruction too. Acked-by: Janosch Frank <[email protected]> Fixes: 286de8f6ac9202 ("KVM: trigger uevents when creating or destroying a VM") Signed-off-by: Claudio Imbrenda <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions