Changeset 37dc1fb


Ignore:
Timestamp:
10/31/05 17:12:06 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
5c095c8
Parents:
144fc8d
Message:

removed Makefile from cvs
updated tracedump to fix compiler warning

Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r144fc8d r37dc1fb  
    128128AC_PROG_GCC_TRADITIONAL
    129129AC_CHECK_FUNCS(socket strdup)
    130 
    131 ## configure time option for __attribute__((pure))
    132 #test_pure=true
    133 #AC_ARG_WITH(pure,
    134 #           AC_HELP_STRING([--with-pure],
    135 #                          [use __attribute__((pure)) for optimisation]),
    136 #[
    137 #       if test "$withval" = no -o "$withval" = false
    138 #       then
    139 #               test_pure=false
    140 #       else
    141 #               test_pure=true
    142 #       fi
    143 #],[
    144 #       test_pure=true
    145 #])
    146 #
    147 #libtrace_pure=false
    148 #if test "$test_pure" = true; then
    149 #       AC_MSG_CHECKING([if compiler supports __attribute__((pure))])
    150 #       OLDCFLAGS="$CFLAGS"
    151 #       CFLAGS="$CFLAGS -Werror"
    152 #       
    153 #       AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
    154 #                          [[
    155 ##define SIMPLE_FUNCTION __attribute__((pure))
    156 #SIMPLE_FUNCTION
    157 #void foo() {
    158 #}
    159 #                          ]])],
    160 #               [AC_DEFINE(HAVE_ATTR_PURE,1,[define to test for __attribute__((pure)) support]) libtrace_pure=true],
    161 #               [AC_DEFINE(HAVE_ATTR_PURE,0,[define to test for __attribute__((pure)) support]) libtrace_pure=false])
    162 #
    163 #       AC_MSG_RESULT($libtrace_pure)
    164 #       CFLAGS="$OLDCFLAGS"
    165 #
    166 #       if test "$libtrace_pure" = true; then
    167 #               perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h
    168 #       else
    169 #               perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h
    170 #       fi
    171 #
    172 #fi
    173130
    174131# configure time options for man pages
     
    340297reportopt "Compiled with PCAP support" $libtrace_pcap
    341298reportopt "Compiled with compressed trace (zlib) support" $libtrace_zlib
    342 reportopt "Compiled with __attribute__((pure))" $libtrace_pure
    343299reportopt "Compiled with DAG support (libdag)" $libtrace_dag
    344300reportopt "Compiled with DAG support (DAG 2.4)" $libtrace_dag2_4
  • tools/tracedump/tracedump.cc

    rfd9d44c r37dc1fb  
    6767                while(trace_read_packet(trace,&packet)> 0 ){
    6868                        time_t sec = (time_t)trace_get_seconds(&packet);
    69                         char *link=(char *)trace_get_link(&packet);
    7069                        if (filter && !trace_bpf_filter(filter,&packet))
    7170                                continue;
Note: See TracChangeset for help on using the changeset viewer.