aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRomain Perier <[email protected]>2016-09-16 12:08:51 +0200
committerHerbert Xu <[email protected]>2016-10-21 10:26:21 +0800
commit69eb4d0190eab9e32fccbe1ec64dec1cfa7fb01a (patch)
treef7f686a3a292d1d43ab92421d98f31cd3f6961ed /tools/perf/scripts/python/event_analyzing_sample.py
parent52060836f79080849dd90e3ae1aeb288411f3def (diff)
hwrng: omap - Switch to non-obsolete read API implementation
The ".data_present" and ".data_read" operations are marked as OBSOLETE in the hwrng API. We have to use the ".read" operation instead. It makes the driver simpler and moves the busy loop, that waits until enough data is generated, to the read function. We simplify this step by only checking the status of the engine, if there is data, we copy the data to the output buffer and the amout of copied data is returned to the caller, otherwise zero is returned. The hwrng core will re-call the read operation as many times as required until enough data has been copied. Signed-off-by: Romain Perier <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions