aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorStefan Weinhuber <[email protected]>2011-08-03 16:44:20 +0200
committerHeiko Carstens <[email protected]>2011-08-03 16:44:19 +0200
commite4258d55bff06780cd424c671b576a90acc1592f (patch)
treea8a7da35bff7d9379678ba8f59f512f12681f768 /tools/perf/util/scripting-engines/trace-event-python.c
parent7dd6b3343fdc190712d1620ee8848d25c4c77c33 (diff)
[S390] dasd: use vmalloc for statistics input buffer
The size of the buffer that is used to store DASD statistics input strings depends on the user input. If the input string is to large, the write operation could fail with -ENOMEM. To avoid this, use vmalloc instead of kmalloc. Signed-off-by: Stefan Weinhuber <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions