aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2021-04-06 15:51:00 -0700
committerShuah Khan <[email protected]>2021-04-07 16:40:37 -0600
commitde2fcb3e62013738f22bbb42cbd757d9a242574e (patch)
tree4fe1ac52aee812021d33a964a9428f37e88618b8 /tools/perf/scripts/python/export-to-postgresql.py
parentf65968ac191bd5f31091ff132191bf2ce3aed6c8 (diff)
Documentation: kunit: add tips for using current->kunit_test
As of commit 359a376081d4 ("kunit: support failure from dynamic analysis tools"), we can use current->kunit_test to find the current kunit test. Mention this in tips.rst and give an example of how this can be used in conjunction with `test->priv` to pass around state and specifically implement something like mocking. There's a lot more we could go into on that topic, but given that example is already longer than every other "tip" on this page, we just point to the API docs and leave filling in the blanks as an exercise to the reader. Also give an example of kunit_fail_current_test(). Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions