Changeset 530bcf0 for tools/tracertstats


Ignore:
Timestamp:
11/27/08 10:59:46 (12 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
f20d66c
Parents:
9b25f5f
Message:

Fix autoconf building of the gdc graph output for tracertstats

Location:
tools/tracertstats
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/tracertstats/Makefile.am

    r013d3692 r530bcf0  
    33EXTRA_DIST = $(man_MANS)
    44
    5 if LIBGDC
     5if HAVE_LIBGDC
    66LIBGDC_MODULES=output_png.c
    77OUTPUT_PNG_LD=-lgdc
  • tools/tracertstats/output.c

    re2d49d5 r530bcf0  
    1313        &output_csv,
    1414        &output_html,
    15 #ifdef HAVE_GDC_H
     15#ifdef HAVE_LIBGDC
    1616        &output_png,
    1717#endif
  • tools/tracertstats/tracertstats.c

    r5f653db r530bcf0  
    104104        double ts = 0;
    105105
     106        fprintf(stderr,"output format: '%s'\n",output_format);
    106107        output=output_init(uri,output_format?output_format:"txt");
     108        if (!output) {
     109                fprintf(stderr,"Failed to create output file\n");
     110                return;
     111        }
    107112        output_add_column(output,"ts");
    108113        output_add_column(output,"packets");
Note: See TracChangeset for help on using the changeset viewer.