Initialize the buffer for longrunning method traces

When allocating a buffer for longrunning method traces, add a
placeholder exit event. This is required to prevent additional checks in
the method exit stubs to check if the previous entry is valid.

Bug: 352518093
Test: Manual testing with am profile
Change-Id: Iba18cc9d4769cb9aebe12c389a5c017629cbdbf2
1 file changed