diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-04-16 15:51:03 +0000 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2019-04-18 11:11:05 +0930 |
commit | 2ed835e9a1dc6e38a05b1755142e657af38e2b71 (patch) | |
tree | a980313b66db73ab871f25ba59fc825f38c19dcc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f775b1e7f9e42753caad56231b48689e1dd1edf8 (diff) | |
download | talos-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