diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index a8cf755efa3..aa32555d9ba 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -2618,7 +2618,7 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData) { NS_TIME_FUNCTION; SAMPLER_INIT(); - SAMPLE_CHECKPOINT("Startup", "XRE_Main"); + SAMPLE_LABEL("Startup", "XRE_Main"); StartupTimeline::Record(StartupTimeline::MAIN); diff --git a/tools/profiler/sampler.h b/tools/profiler/sampler.h index c58f56ae718..fc218cb6234 100644 --- a/tools/profiler/sampler.h +++ b/tools/profiler/sampler.h @@ -97,7 +97,7 @@ #define SAMPLER_GET_PROFILE() NULL #define SAMPLER_RESPONSIVENESS(time) NULL #define SAMPLER_GET_RESPONSIVENESS() NULL -#define SAMPLE_CHECKPOINT(name_space, info) +#define SAMPLE_LABEL(name_space, info) #define SAMPLE_MARKER(info) // Redefine the macros for platforms where SPS is supported. diff --git a/tools/profiler/sps/sps_sampler.h b/tools/profiler/sps/sps_sampler.h index b5ea9bf57e0..963fcce8885 100644 --- a/tools/profiler/sps/sps_sampler.h +++ b/tools/profiler/sps/sps_sampler.h @@ -57,7 +57,7 @@ extern pthread_key_t pkey_stack; #define SAMPLER_GET_RESPONSIVENESS() mozilla_sampler_get_responsiveness() #define SAMPLER_SAVE() mozilla_sampler_save(); #define SAMPLER_GET_PROFILE() mozilla_sampler_get_profile(); -#define SAMPLE_CHECKPOINT(name_space, info) mozilla::SamplerStackFrameRAII only_one_sampleraii_per_scope(FULLFUNCTION, name_space "::" info); +#define SAMPLE_LABEL(name_space, info) mozilla::SamplerStackFrameRAII only_one_sampleraii_per_scope(FULLFUNCTION, name_space "::" info); #define SAMPLE_MARKER(info) mozilla_sampler_add_marker(info); // STORE_SEQUENCER: Because signals can interrupt our profile modification