added portalTrace_start() and portalTrace_end()

Change-Id: I80f20f3690e24eb657e99c57cbdf0885a7565300