Skip to content
Snippets Groups Projects
  1. Jan 30, 2025
  2. Jan 27, 2025
    • Robert Schmidt's avatar
      Correctly link function · 8eca2e05
      Robert Schmidt authored
      ran_func_kpm.c uses cp_ba_to_str(), but it is not defined in OAI. Define
      it so we can link properly, instead of relying on FlexRIC (where it was
      defined).
      8eca2e05
  3. Jan 23, 2025
    • Cédric Roux's avatar
      T: update list of mandatory libraries · fc4cc9ef
      Cédric Roux authored
      fc4cc9ef
    • Cédric Roux's avatar
      T hacks: time_meas: add a periodic tracing mode · 28a08786
      Cédric Roux authored
      Useful to debug realtime issues, for example when calling a periodical
      routine, if it's not programmed carefully enough, it may be that the first
      call takes way longer than the next ones (for example it uses some memory
      that is not mapped in the process, leading to many page faults the first
      time it's executed).
      
      Having a periodic log for the timing of this routine with min/avg/max/count
      will reveal that a call is way longer than average and will help in
      finding where exactly in the code the time is spent, thanks to the ease
      of use of the T tracer; you put T(T_XX, T_INT(1)) just before the code
      you want to measure, you put T(T_XX, T_INT(0)) just after and time_meas
      will show the delta time between those events. Then you cut the routine
      in smaller pieces, measure with T(1)/T(0), and you finally reach the small
      guilty part that takes too long.
      28a08786
    • Cédric Roux's avatar
      T hacks: minor bugfix: don't log more than once · 44637de3
      Cédric Roux authored
      In time_meas.c, when getting 0 for the event, we log delta time with
      previous 1 for the event. "start_valid" was not cleared, so receiving
      a second 0 without 1 in between may lead to wrong logging.
      
      Should not happen in practice, but still, little bug.
      
      (Note: we don't protect against streams of 1, but this case should also
      not happen.)
      44637de3
    • Cédric Roux's avatar
    • Robert Schmidt's avatar
      c4b57963
    • Thomas Laurent's avatar
      Clean up logging module debug flags · 536b5d87
      Thomas Laurent authored and Robert Schmidt's avatar Robert Schmidt committed
      cleanup debug/dump flags by avoiding repetitions in the source code and
      enable compiler checks. Add a help text if we set a wrong debug trace
      option.
      536b5d87
  4. Jan 14, 2025
  5. Jan 09, 2025
  6. Jan 03, 2025
    • Bartosz Podrygajlo's avatar
      Improve assert in completed_task_ans() · 75162adf
      Bartosz Podrygajlo authored
      This assert checks if the structure is correctly initialized. The structure
      is one-time use so the assert is valid, but the value of the atomic was added
      to the output to improve debugging.
      75162adf
  7. Dec 16, 2024
  8. Dec 10, 2024
  9. Dec 05, 2024
  10. Dec 04, 2024
  11. Dec 03, 2024
    • Cédric Roux's avatar
      T tracer: add macpdu traces for the NR UE · 5ff4b7a3
      Cédric Roux authored
      MIB, SIB1, random access and regular scheduling are traced.
      
      At the beginning of a connection (rrc setup request and rrc setup), the
      RNTI is reported as 0. Might be fixed, somehow, if absolutely needed (not
      sure).
      5ff4b7a3
  12. Nov 29, 2024
  13. Nov 27, 2024
  14. Nov 21, 2024
  15. Nov 17, 2024
  16. Nov 15, 2024
  17. Nov 12, 2024
  18. Nov 07, 2024
  19. Oct 29, 2024
Loading