From: Dam Sunwoo Date: Thu, 1 Mar 2012 23:26:31 +0000 (-0600) Subject: ARM: move kernel func event to correct location. X-Git-Tag: stable_2012_06_28~207 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86d1042d9fabdea7afb8808d4f8395d9e41fdf75;p=gem5.git ARM: move kernel func event to correct location. With the recent series of patches, the symbol table loading moved from "construct" time to "init" time, but the kernel function event callback registration was left behind. This patch moves it to the proper location. --- diff --git a/src/arch/arm/system.cc b/src/arch/arm/system.cc index c26be6026..8b85715cb 100644 --- a/src/arch/arm/system.cc +++ b/src/arch/arm/system.cc @@ -55,7 +55,6 @@ using namespace Linux; ArmSystem::ArmSystem(Params *p) : System(p), bootldr(NULL) { - debugPrintkEvent = addKernelFuncEvent("dprintk"); } void @@ -113,6 +112,7 @@ ArmSystem::initState() } } + debugPrintkEvent = addKernelFuncEvent("dprintk"); } ArmSystem::~ArmSystem()