Descriptionozone: drm: Add more details when dmabuf mmap fails.
When native GPU memory buffers were enabled we noticed many crashes
reporting mmap failing.
This CL adds more information when dmabuf mmap fails in the crash report
that is uploaded.
It adds the values of the parameters passed to mmap, the validity of the fd
passed to mmap, the last errno set, and the logical size of the buffer.
Additionally, while we used to always report mmap failing as out of memory,
after this CL we'll differentiate based on the last system error set.
BUG=629521
Review-Url: https://codereview.chromium.org/2710183005
Cr-Commit-Position: refs/heads/master@{#453226}
Committed: https://chromium.googlesource.com/chromium/src/+/7288c33cfa94a7d45a98eb3cdb4dd5ef11da9d3b
Patch Set 1 #Patch Set 2 : Register crash keys. #
Total comments: 4
Patch Set 3 : Address reveman's nits. #
Messages
Total messages: 21 (12 generated)
|