Bug 848601 - Lookup the trace kind to use when marking at compile time; r=billm

--HG--
extra : rebase_source : 9e913d55b65433ad3251b07e5f38d9195ea97e6f