Ignore:
Timestamp:
03/05/15 15:44:30 (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:
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_ordered.c

    rd994324 r62b3c4e  
    6060                /* Get the minimum queue and then do stuff */
    6161                libtrace_result_t r;
     62                libtrace_generic_t gt = {.res = &r};
    6263
    6364                ASSERT_RET (libtrace_deque_pop_front(&queues[min_queue], (void *) &r), == 1);
    64                 trace->reporter(trace, &r, NULL);
     65                trace->reporter(trace, MESSAGE_RESULT, gt, &trace->reporter_thread);
    6566
    6667                // We expect the key we read +1 now , todo put expected in our storage area
Note: See TracChangeset for help on using the changeset viewer.