Skip to content
Snippets Groups Projects
Commit 8d2e4c3d authored by bunnei's avatar bunnei
Browse files

logger: Add APM service logging category.

parent 69697535
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ namespace Log {
CLS(Service) \
SUB(Service, ACC) \
SUB(Service, AM) \
SUB(Service, APM) \
SUB(Service, SM) \
SUB(Service, FS) \
SUB(Service, GSP) \
......
......@@ -51,6 +51,7 @@ enum class Class : ClassType {
/// should have its own subclass.
Service_ACC, ///< The ACC (Account service) implementation
Service_AM, ///< The AM (Applet manager service) implementation
Service_APM, ///< The APM service implementation
Service_SM, ///< The SRV (Service Directory) implementation
Service_FS, ///< The FS (Filesystem) service implementation
Service_GSP, ///< The GSP (GPU control) service
......
......@@ -33,7 +33,8 @@ private:
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config);
LOG_WARNING(Service_APM, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode),
config);
}
void GetPerformanceConfiguration(Kernel::HLERequestContext& ctx) {
......@@ -45,7 +46,7 @@ private:
rb.Push(RESULT_SUCCESS);
rb.Push<u32>(0); // Performance configuration
LOG_WARNING(Service, "(STUBBED) called mode=%u", static_cast<u32>(mode));
LOG_WARNING(Service_APM, "(STUBBED) called mode=%u", static_cast<u32>(mode));
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment