Changeset d56089a for tools/traceanon


Ignore:
Timestamp:
12/15/05 14:16:33 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
9c87732
Parents:
b8bb4c5
Message:

Updated examples and tools to use new function names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/traceanon/traceanon.c

    r3840760 rd56089a  
    100100        char *key = NULL;
    101101        struct libtrace_t *trace = 0;
    102         struct libtrace_packet_t *packet = trace_packet_create();
     102        struct libtrace_packet_t *packet = trace_create_packet();
    103103        struct libtrace_out_t *writer = 0;
    104104        bool enc_source = false;
     
    165165                // no output specified, output in same format to stdout
    166166                asprintf(&output,"%s:-","erf");
    167                 writer = trace_output_create(output);
     167                writer = trace_create_output(output);
    168168        } else {
    169                 writer = trace_output_create(argv[optind +1]);
     169                writer = trace_create_output(argv[optind +1]);
    170170        }
    171171        if (!writer) {
    172                 trace_perror("trace_output_create");
     172                trace_perror("trace_create_output");
    173173                return 1;
    174174        }
Note: See TracChangeset for help on using the changeset viewer.