Skip to content
Snippets Groups Projects
Commit b12f0a29 authored by Avi Kivity's avatar Avi Kivity Committed by Pekka Enberg
Browse files

trace: fix tracepoint arguments that are strings in demand paged memory


If a char* tracepoint argument points into demand paged memory, we may
try to access it while it is unmapped, in a non-preemptible context.

Fix by handling the fault gracefully.

Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent bf513903
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment