summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-04-16 15:51:03 +0000
committerAndrew Jeffery <andrew@aj.id.au>2019-04-18 11:11:05 +0930
commit2ed835e9a1dc6e38a05b1755142e657af38e2b71 (patch)
treea980313b66db73ab871f25ba59fc825f38c19dcc /tools/perf/util/scripting-engines/trace-event-python.c
parentf775b1e7f9e42753caad56231b48689e1dd1edf8 (diff)
downloadtalos-obmc-linux-2ed835e9a1dc6e38a05b1755142e657af38e2b71.tar.gz
talos-obmc-linux-2ed835e9a1dc6e38a05b1755142e657af38e2b71.zip
hwmon (occ): Store error condition for rate-limited polls
The OCC driver limits the rate of sending poll commands to the OCC. If a user reads a hwmon entry after a poll response resulted in an error and is rate-limited, the error is invisible to the user. Fix this by storing the last error and returning that in the rate-limited case. OpenBMC-Staging-Count: 1 Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud