ccadcb8f33
The "function entry" needs to be recorded with TSRAW() rather than TSENTER() since curthread is not yet defined. (The same approach is taken in amd64's hammer_time.)