Create heartbeats dynamically as needed - avoids the need for hardcoding and maintaining heartbeats for profiler categories. Use consistent variable names. Use Box::into_raw and Box::from_raw instead of std::mem::transmute.
Create heartbeats dynamically as needed - avoids the need for hardcoding and maintaining heartbeats for profiler categories.
Use consistent variable names.
Use Box::into_raw and Box::from_raw instead of std::mem::transmute.

avadacatavra/servo,dsandeephegde/servo,eddyb/servo,splav/servo,larsbergstrom/servo,splav/servo,rnestler/servo,peterjoel/servo,splav/servo,sadmansk/servo,emilio/servo,ConnorGBrewster/servo,pyfisch/servo,peterjoel/servo,CJ8664/servo,emilio/servo,anthgur/servo,dati91/servo,avadacatavra/servo,upsuper/servo,peterjoel/servo,notriddle/servo,mattnenterprise/servo,emilio/servo,avadacatavra/servo,splav/servo,sadmansk/servo,KiChjang/servo,cbrewster/servo,paulrouget/servo,peterjoel/servo,CJ8664/servo,SimonSapin/servo,nnethercote/servo,ConnorGBrewster/servo,dsandeephegde/servo,DominoTree/servo,pyfisch/servo,avadacatavra/servo,larsbergstrom/servo,jimberlage/servo,anthgur/servo,DominoTree/servo,CJ8664/servo,upsuper/servo,thiagopnts/servo,mattnenterprise/servo,cbrewster/servo,notriddle/servo,notriddle/servo,notriddle/servo,rnestler/servo,thiagopnts/servo,paulrouget/servo,dsandeephegde/servo,nnethercote/servo,saneyuki/servo,mbrubeck/servo,upsuper/servo,fiji-flo/servo,saneyuki/servo,paulrouget/servo,thiagopnts/servo,mbrubeck/servo,mattnenterprise/servo,KiChjang/servo,SimonSapin/servo,jimberlage/servo,szeged/servo,anthgur/servo,mattnenterprise/servo,anthgur/servo,saneyuki/servo,dati91/servo,dati91/servo,emilio/servo,KiChjang/servo,avadacatavra/servo,larsbergstrom/servo,nnethercote/servo,paulrouget/servo,paulrouget/servo,thiagopnts/servo,cbrewster/servo,fiji-flo/servo,pyfisch/servo,jimberlage/servo,splav/servo,ConnorGBrewster/servo,KiChjang/servo,larsbergstrom/servo,KiChjang/servo,ConnorGBrewster/servo,sadmansk/servo,upsuper/servo,mbrubeck/servo,dati91/servo,KiChjang/servo,szeged/servo,rnestler/servo,emilio/servo,thiagopnts/servo,SimonSapin/servo,upsuper/servo,eddyb/servo,fiji-flo/servo,emilio/servo,larsbergstrom/servo,eddyb/servo,larsbergstrom/servo,rnestler/servo,canaltinova/servo,mbrubeck/servo,cbrewster/servo,mbrubeck/servo,fiji-flo/servo,splav/servo,jimberlage/servo,saneyuki/servo,jimberlage/servo,larsbergstrom/servo,sadmansk/servo,mbrubeck/servo,rnestler/servo,saneyuki/servo,CJ8664/servo,avadacatavra/servo,canaltinova/servo,ConnorGBrewster/servo,avadacatavra/servo,fiji-flo/servo,splav/servo,SimonSapin/servo,pyfisch/servo,szeged/servo,rnestler/servo,notriddle/servo,thiagopnts/servo,peterjoel/servo,anthgur/servo,notriddle/servo,cbrewster/servo,paulrouget/servo,anthgur/servo,szeged/servo,ConnorGBrewster/servo,emilio/servo,szeged/servo,SimonSapin/servo,fiji-flo/servo,splav/servo,nnethercote/servo,DominoTree/servo,eddyb/servo,sadmansk/servo,pyfisch/servo,canaltinova/servo,CJ8664/servo,szeged/servo,avadacatavra/servo,paulrouget/servo,pyfisch/servo,cbrewster/servo,dsandeephegde/servo,saneyuki/servo,nnethercote/servo,anthgur/servo,DominoTree/servo,notriddle/servo,nnethercote/servo,DominoTree/servo,larsbergstrom/servo,pyfisch/servo,fiji-flo/servo,canaltinova/servo,canaltinova/servo,canaltinova/servo,saneyuki/servo,emilio/servo,mattnenterprise/servo,KiChjang/servo,pyfisch/servo,saneyuki/servo,eddyb/servo,paulrouget/servo,thiagopnts/servo,KiChjang/servo,cbrewster/servo,KiChjang/servo,splav/servo,KiChjang/servo,jimberlage/servo,upsuper/servo,eddyb/servo,ConnorGBrewster/servo,nnethercote/servo,jimberlage/servo,larsbergstrom/servo,dsandeephegde/servo,szeged/servo,rnestler/servo,emilio/servo,eddyb/servo,dsandeephegde/servo,peterjoel/servo,peterjoel/servo,jimberlage/servo,cbrewster/servo,szeged/servo,mattnenterprise/servo,mbrubeck/servo,DominoTree/servo,CJ8664/servo,rnestler/servo,nnethercote/servo,nnethercote/servo,dsandeephegde/servo,saneyuki/servo,dati91/servo,pyfisch/servo,emilio/servo,paulrouget/servo,sadmansk/servo,SimonSapin/servo,peterjoel/servo,szeged/servo,dati91/servo,SimonSapin/servo,upsuper/servo,notriddle/servo,nnethercote/servo,dati91/servo,dati91/servo,notriddle/servo,mbrubeck/servo,CJ8664/servo,szeged/servo,DominoTree/servo,pyfisch/servo,jimberlage/servo,thiagopnts/servo,sadmansk/servo,larsbergstrom/servo,anthgur/servo,DominoTree/servo,fiji-flo/servo,DominoTree/servo,saneyuki/servo,paulrouget/servo,upsuper/servo,notriddle/servo,CJ8664/servo,splav/servo,peterjoel/servo,SimonSapin/servo,peterjoel/servo,canaltinova/servo,eddyb/servo,DominoTree/servo,mattnenterprise/servo,ConnorGBrewster/servo,sadmansk/servo,dsandeephegde/servo,canaltinova/servo,mattnenterprise/servo