summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Carmen Jackson <carmenjackson@google.com> 2018-12-06 13:47:18 -0800
committer Carmen Jackson <carmenjackson@google.com> 2018-12-06 13:47:18 -0800
commit5bbc9a272c773657ede1609bf9ae42ea5ca54479 (patch)
tree912c1144ef4bfef702149fa5dbe2a668753fc0f3 /vulkan/libvulkan/api.cpp
parentb690b5a75d8d3bcc69035347e07c5dd17747a3ed (diff)
Fix logic error in atrace when detecting available categories.
A category should be marked as available "only if all its required /sys/ files are writeable and if enabling the category will enable one or more tracing tags or /sys/ files". The previous code didn't check that one or more file was enabled, and therefore would always mark a category available if all of their files were optional, even if none of those were writeable. Bug: 120621110 Test: Manual Change-Id: Iee2984f7cb3591dcd0b3a376d95754d1abaea5be
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions