Port the events handling from rocm-smi to amd-smi Change-Id: I0b4cb30a585cb2188a24be0e21c1c156b461bb1d
Add gtest based unit test framework. Implement fan read/write function. Change-Id: I83375c24b99d24d01d12bccda863a38f75f5987f