aboutsummaryrefslogtreecommitdiff
path: root/daemon/HwmonDriver.cpp
diff options
context:
space:
mode:
authorDrew Richardson <drew.richardson@arm.com>2015-07-30 08:27:19 -0700
committerJon Medhurst <tixy@linaro.org>2015-07-31 11:13:11 +0100
commit5d841367afb5252f8db7af1b4a765d0837f5921e (patch)
treee0056d8672e85759adc6b3ea014cd9e93747832d /daemon/HwmonDriver.cpp
parent83f711b8f028f2ba6fbd58d49136b33a9fc05c6d (diff)
gator: Fix race in perf event setup
Save the result of perf_event_create_kernel_counter to a temporary location so if it fails the error value will not be seen in __read and mistakenly used as pointer. Signed-off-by: Drew Richardson <Drew.Richardson@arm.com> Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'daemon/HwmonDriver.cpp')
0 files changed, 0 insertions, 0 deletions