diff options
| author | Richard Weinberger <[email protected]> | 2018-07-12 11:01:58 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2018-08-14 22:25:21 +0000 |
| commit | 2e52eb74463f15c745d64948cedfaee722d6268c (patch) | |
| tree | 28c0633e10d74d5e12ac3179108c1fed8c52e4f3 /tools/perf/scripts/python | |
| parent | ubifs: Pass struct ubifs_info to ubifs_assert() (diff) | |
| download | kernel-2e52eb74463f15c745d64948cedfaee722d6268c.tar.gz kernel-2e52eb74463f15c745d64948cedfaee722d6268c.zip | |
ubifs: Rework ubifs_assert()
With having access to struct ubifs_info in ubifs_assert() we can
give more information when an assert is failing.
By using ubifs_err() we can tell which UBIFS instance failed.
Also multiple actions can be taken now.
We support:
- report: This is what UBIFS did so far, just report the failure and go
on.
- read-only: Switch to read-only mode.
- panic: shoot the kernel in the head.
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
