diff options
author | seshendra <sgadagottu@nvidia.com> | 2019-09-03 17:20:03 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-09-06 01:39:33 -0400 |
commit | 0214511e2e085b8233600467ab2b044f9f826bc8 (patch) | |
tree | ae5c87a2ef7b348ca424103665c86690110d8e5d /userspace/include/unit/results.h | |
parent | 07ddc5aaad9a89a758cb5fe247c06d845b025e65 (diff) |
gpu: nvgpu: fix enable/disable fecs trace
- This patch fixes enable/disable fecs trace logic.
- Added enable_lock and enable_count to handle multiple
enable/disable of fecs trace logic.
- If user does trace disable twice, enable_count will become
negative and when user tries to re-enable it, fecs trace
will not be enabled.
Bug 2672760
Bug 200542611
Change-Id: Ic7d4883b899f01dcf43058d0e7c9d1223a716c9b
Signed-off-by: seshendra <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2189371
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/include/unit/results.h')
0 files changed, 0 insertions, 0 deletions