aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSasha Levin <[email protected]>2011-12-04 19:36:29 +0200
committerAvi Kivity <[email protected]>2011-12-27 11:22:21 +0200
commitff5c2c0316ff0e3e2dba3ca14167d994453df093 (patch)
treea2cba54bb5486f508315842ac9ee026cd5d87981 /tools/perf/util/scripting-engines/trace-event-python.c
parentcdfca7b346e6dbab1ba33260c28ccb8333485a5b (diff)
KVM: Use memdup_user instead of kmalloc/copy_from_user
Switch to using memdup_user when possible. This makes code more smaller and compact, and prevents errors. Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions