I've just looked at r2133.

I notice that there is a call to load_metric_modules() within the first 
conditional block (args_info.metrics_flag).

Therefore, to solve the problem addressed by r2133, I believe one of the 
following alternatives is needed:

a) put a call to load_metric_modules() within the conditional block for 
bandwidth_flag

b) call load_metric_modules() before both conditional blocks (this is 
what I prefer)

Any comments/objections?

  if(args_info.metrics_flag)
    {
      load_metric_modules();
      initialize_scoreboard();
      setup_metric_callbacks();
      print_metric_list();
      fflush( stdout );
      exit(0);
    }

  load_metric_modules();

  if(args_info.bandwidth_flag)
    {
      double bytes_per_sec;
      setup_metric_callbacks();
      bytes_per_sec = setup_collection_groups();
      fprintf(stdout, "%f bytes/sec\n", bytes_per_sec);
      exit(0);
    }



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to