Changeset 1879 for trunk/src/kmk


Ignore:
Timestamp:
Oct 17, 2008, 3:53:05 AM (17 years ago)
Author:
bird
Message:

do strcache2_print_stats_all.

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/main.c

    r1867 r1879  
    36343634  print_file_data_base ();
    36353635  print_vpath_data_base ();
     3636#ifndef CONFIG_WITH_STRCACHE2
    36363637  strcache_print_stats ("#");
     3638#else
     3639  strcache2_print_stats_all ("#");
     3640#endif
    36373641#ifdef CONFIG_WITH_ALLOC_CACHES
    36383642  alloccache_print_all ();
  • trunk/src/kmk/strcache2.c

    r1870 r1879  
    754754{
    755755  struct strcache2 *cur;
    756   for (cur = strcache_head; cur; cur++)
     756  for (cur = strcache_head; cur; cur = cur->next)
    757757    strcache2_print_stats (cur, prefix);
    758758}
Note: See TracChangeset for help on using the changeset viewer.