@@ -614,19 +614,23 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
614
614
" Start the V8 CPU profiler on start up, and write the CPU profile "
615
615
" to disk before exit. If --cpu-prof-dir is not specified, write "
616
616
" the profile to the current working directory." ,
617
- &EnvironmentOptions::cpu_prof);
617
+ &EnvironmentOptions::cpu_prof,
618
+ kAllowedInEnvvar );
618
619
AddOption (" --cpu-prof-name" ,
619
620
" specified file name of the V8 CPU profile generated with "
620
621
" --cpu-prof" ,
621
- &EnvironmentOptions::cpu_prof_name);
622
+ &EnvironmentOptions::cpu_prof_name,
623
+ kAllowedInEnvvar );
622
624
AddOption (" --cpu-prof-interval" ,
623
625
" specified sampling interval in microseconds for the V8 CPU "
624
626
" profile generated with --cpu-prof. (default: 1000)" ,
625
- &EnvironmentOptions::cpu_prof_interval);
627
+ &EnvironmentOptions::cpu_prof_interval,
628
+ kAllowedInEnvvar );
626
629
AddOption (" --cpu-prof-dir" ,
627
630
" Directory where the V8 profiles generated by --cpu-prof will be "
628
631
" placed. Does not affect --prof." ,
629
- &EnvironmentOptions::cpu_prof_dir);
632
+ &EnvironmentOptions::cpu_prof_dir,
633
+ kAllowedInEnvvar );
630
634
AddOption (" --experimental-network-inspection" ,
631
635
" experimental network inspection support" ,
632
636
&EnvironmentOptions::experimental_network_inspection);
0 commit comments