Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
Source project has a limited visibility.
  • Cédric Roux's avatar
    52cf61de
    T tracer: don't depend on T_BUFFER_MAX anymore in the tracers · 52cf61de
    Cédric Roux authored
    Whenever the value T_BUFFER_MAX changes, the tracers had to
    be recompiled. The only reason why it was needed is because we
    used some fixed size buffers to read events. This commit removes
    this restriction.
    
    Also, with the basic simulator, this value T_BUFFER_MAX now comes
    with an #ifdef which would have required some special hackish-level
    tricks in the tracers, which is not good.
    
    Let's just allocate memory when needed.
    52cf61de
    History
    T tracer: don't depend on T_BUFFER_MAX anymore in the tracers
    Cédric Roux authored
    Whenever the value T_BUFFER_MAX changes, the tracers had to
    be recompiled. The only reason why it was needed is because we
    used some fixed size buffers to read events. This commit removes
    this restriction.
    
    Also, with the basic simulator, this value T_BUFFER_MAX now comes
    with an #ifdef which would have required some special hackish-level
    tricks in the tracers, which is not good.
    
    Let's just allocate memory when needed.