ganglia/monitor-core

Ganglia needs to know about aarch64

Opened this issue · 3 comments

Ganglia doesn't know about the aarch64 machine type. Here's a simple patch to fix this:

*** libmetrics/linux/metrics.c.orig Wed Jul 1 15:49:35 2015
--- libmetrics/linux/metrics.c Fri Sep 23 08:42:51 2016


*** 618,623 ****
--- 618,626 ----
#ifdef arm
snprintf(val.str, MAX_G_STRING_SIZE, "arm");
#endif

  • #ifdef aarch64
  • snprintf(val.str, MAX_G_STRING_SIZE, "aarch64");
  • #endif
    #ifdef hppa
    snprintf(val.str, MAX_G_STRING_SIZE, "hppa");
    #endif

Thanks,
Kevin

Can you submit this is a pull request.

Thanks

Done.

Kevin

This was fixed in fcf4c7c (time to close?)