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