Ignore:
Timestamp:
09/17/14 13:45:29 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
9e429e8
Parents:
2498008
Message:

Remove anything to do with the combiner from set configuration and removes any options/storage related to these such as the next expected packet.

Instead this is done using trace_set_combiner now, and the for the built-in combiners.h header. This is a lot more flexible and allows the users to specify there own combiner, and any number of options for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-format-parallel.c

    r2498008 rd994324  
    104104        if (result) {
    105105                assert(libtrace_result_get_key(result) == 0);
    106                 printf("%d,", (int) libtrace_result_get_value(result));
     106                printf("%d,", libtrace_result_get_value(result).sint);
    107107                totalthreads++;
    108                 totalpkts += (int) libtrace_result_get_value(result);
     108                totalpkts += libtrace_result_get_value(result).sint;
    109109        } else {
    110110                switch(mesg->code) {
     
    172172
    173173                        // All threads publish to verify the thread count
    174                         trace_publish_result(trace, t, (uint64_t) 0, (void *) count, RESULT_NORMAL);
     174                        trace_publish_result(trace, t, (uint64_t) 0, (libtrace_generic_types_t){.sint = count}, RESULT_NORMAL);
    175175                        trace_post_reporter(trace);
    176176                        break;
Note: See TracChangeset for help on using the changeset viewer.