summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-12-06 17:00:55 +0000
committerJon Medhurst <tixy@linaro.org>2012-12-10 20:39:17 +0000
commit229dc35f699f144e5e3ccd8062bba8f6e650cfdc (patch)
tree0ddeef697f6c97b22bc0b89adc11f700102311af /trusty/coverage/coverage_test.cpp
parent523e21d366523604576b85960d7aba6062fd5605 (diff)
init: Fix get_hardware_name() to cope with long /proc/cpuinfo output
get_hardware_name() uses a fixed size buffer to slurp the contents of /proc/cpuinfo into and with newer multicore systems this is not big enough, leading to the inability to pick up the hardware name. Fix this by using a dynamically allocated, exponentially growing buffer. Change-Id: I51c6c276b6e110f462839e205a4428adc6656e75 Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions