Changeset 1060b6d


Ignore:
Timestamp:
05/18/18 11:39:59 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
14b90f8
Parents:
1e0a804
git-author:
Shane Alcock <salcock@…> (04/17/18 16:59:35)
git-committer:
Shane Alcock <salcock@…> (05/18/18 11:39:59)
Message:

Don't try to release ring frames in linuxring_read_stream()

The frame should already have been released by a call to
linuxring_fin_packet() by the function that is calling
linuxring_read_stream() -- trying to release it again is only
going to cause a lot of pain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_ring.c

    rdb84bb2 r1060b6d  
    461461        struct pollfd pollset[2];
    462462
    463         ring_release_frame(libtrace, packet);
    464        
    465463        packet->buf_control = TRACE_CTRL_EXTERNAL;
    466464        packet->type = TRACE_RT_DATA_LINUX_RING;
Note: See TracChangeset for help on using the changeset viewer.