diff options
| author | Bob Peterson <rpeterso@redhat.com> | 2020-05-23 08:13:50 -0500 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-05 16:44:29 +0200 |
| commit | ea4e61c7f46d33fdf17580a925e47cc83570d658 (patch) | |
| tree | 93a9f0b2349114db7705f69d524e57f056cb72dc /tools/perf/scripts/python/stackcollapse.py | |
| parent | gfs2: print mapping->nrpages in glock dump for address space glocks (diff) | |
| download | linux-ea4e61c7f46d33fdf17580a925e47cc83570d658.tar.gz linux-ea4e61c7f46d33fdf17580a925e47cc83570d658.zip | |
gfs2: introduce new gfs2_glock_assert_withdraw
Before this patch, asserts based on glocks did not print the glock with
the error. This patch introduces a new macro, gfs2_glock_assert_withdraw
which first prints the glock, then takes the assert.
This also changes a few glock asserts to the new macro.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
