Ignore:
Timestamp:
03/05/15 15:44:30 (6 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:
ab3fa18
Parents:
b023181
Message:

Update the reporter method to match with the per_pkt method.

We now treat a result as a type of message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/combiner_sorted.c

    rd994324 r62b3c4e  
    5858        for (a = 0; a < libtrace_vector_get_size(&queues[0]); ++a) {
    5959                libtrace_result_t r;
    60                 ASSERT_RET (libtrace_vector_get(&queues[0], a,  (void *) &r), == 1);
    61                 trace->reporter(trace, &r, NULL);
     60                libtrace_generic_t gt = {.res = &r};
     61                ASSERT_RET (libtrace_vector_get(&queues[0], a, (void *) &r), == 1);
     62                trace->reporter(trace, MESSAGE_RESULT, gt, &trace->reporter_thread);
    6263        }
    6364        libtrace_vector_empty(&queues[0]);
Note: See TracChangeset for help on using the changeset viewer.