aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2015-12-09 14:50:27 -0800
committerShuah Khan <[email protected]>2016-01-07 13:44:22 -0700
commiteb910947c82f93cee6ee00a59a4ed86f12cf6e7f (patch)
tree7e941e42f6241a8c62fd4f7393a9b6990407caaf /tools/perf/scripts/python
parentbe4a1326d12cce8df1f57017bf4112eaab437a38 (diff)
test: firmware_class: add asynchronous request trigger
We might want to test for bugs like that found in commit f9692b2699bd ("firmware: fix possible use after free on name on asynchronous request"), where the asynchronous request API had race conditions. Let's add a simple file that will launch the async request, then wait until it's complete and report the status. It's not a true async test (we're using a mutex + wait_for_completion(), so we can't get more than one going at the same time), but it does help make sure the basic API is sane, and it can catch some class of bugs. Signed-off-by: Brian Norris <[email protected]> Cc: Luis R. Rodriguez <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions