Add logging to VA sharing api

Change-Id: I5c68995db4d2dcde9505210030d9c63b5e86ddbd
This commit is contained in:
Hoppe, Mateusz
2018-08-14 10:23:10 +02:00
committed by sys_ocldev
parent 815bd9e027
commit 22f80a8a2c
4 changed files with 90 additions and 13 deletions

View File

@ -121,6 +121,7 @@ class DebugSettingsManager {
void logApiCall(const char *function, bool enter, int32_t errorCode);
size_t getInput(const size_t *input, int32_t index);
const std::string getEvents(const uintptr_t *input, uint32_t numOfEvents);
const std::string getMemObjects(const uintptr_t *input, uint32_t numOfObjects);
MOCKABLE_VIRTUAL void writeToFile(std::string filename, const char *str, size_t length, std::ios_base::openmode mode);