diff options
author | Brian Norris <[email protected]> | 2017-02-08 22:44:44 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2017-02-09 11:49:49 -0800 |
commit | 8672aed7bd865774257efd40929702759a869329 (patch) | |
tree | 7b1fa5d524bd20873e8f5f977e0f4b98c047c4be /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d966564fcdc19e13eb6ba1fbe6b8101070339c3d (diff) |
pstore: don't OOPS when there are no ftrace zones
We'll OOPS in ramoops_get_next_prz() if the platform didn't ask for any
ftrace zones (i.e., cxt->fprzs will be NULL). Let's just skip this
entire FTRACE section if there's no 'fprzs'.
Regression seen on a coreboot/depthcharge-based Chromebook.
Fixes: 2fbea82bbb89 ("pstore: Merge per-CPU ftrace records into one")
Cc: Joel Fernandes <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions