An error occurred fetching the project authors.
  1. 21 Jul, 2023 1 commit
    • mir's avatar
      Warnings generated in gcc 13 and tackled in this PR (except const correctness) · e04554dc
      mir authored
          49 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c: In function ‘main’:
          50 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:30: warning: ‘%s’ directive writing up to 240 bytes into a region of size between 11 and 251 [-Wformat-overflow=]
          51   349 |     sprintf(format, "%c [%s] %s",
          52       |                              ^~
          53 In file included from /usr/include/stdio.h:894,
          54                  from /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:1:
          55 In function ‘sprintf’,
          56     inlined from ‘main’ at /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:5:
          57 /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 486 bytes into a destination of size 256
          58    38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          59       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          60    39 |                                   __glibc_objsize (__s), __fmt,
          61       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          62    40 |                                   __va_arg_pack ());
          63       |                                   ~~~~~~~~~~~~~~~~~
      
          2005 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:1726:6: warning: conflicting types for ‘set_channeldesc_owner’ due to enum/integer mismatch; have ‘void(channel_desc_t *, uint32_t)’ {      aka ‘void(channel_desc_t *, unsigned int)’} [-Wenum-int-mismatch]
          2006  1726 | void set_channeldesc_owner(channel_desc_t *cdesc, uint32_t module_id) {
          2007       |      ^~~~~~~~~~~~~~~~~~~~~
          2008 In file included from /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:31:
          2009 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/sim.h:348:6: note: previous declaration of ‘set_channeldesc_owner’ with type ‘void(channel_desc_t *, channelmod_moduleid_t)’
          2010   348 | void set_channeldesc_owner(channel_desc_t *cdesc, channelmod_moduleid_t module_id);
          2011       |      ^~~~~~~~~~~~~~~~~~~~~
      
          24209 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:954:17: warning: ‘n1_pucch_inter’ may be used uninitialized [-Wmaybe-uninitialized]
          24210   954 |           return(n1_pucch_inter);
          24211       |                 ^
          24212 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:647:60: note: ‘n1_pucch_inter’ was declared here
          24213   647 |   uint16_t n1_pucch0=0,n1_pucch1=0,n1_pucch2=0,n1_pucch3=0,n1_pucch_inter;
          24214       |
      e04554dc
  2. 08 Aug, 2018 1 commit
    • Cedric Roux's avatar
      T: improve to_vcd tracer · 5b17b036
      Cedric Roux authored
      Make it compatible with 'template' gtwave files as found in openair's
      repository.
      
      The type VCD_NAME was added to the VCD IDs in T_messages.txt.
      The database processing code was adapted to use it.
      The tracer to_vcd was adapted to use it and render the produced vcd
      output compatible with the 'template' gtkwave files.
      
      When running to_vcd, do not forget to pass -vcd to use this feature.
      5b17b036
  3. 06 Aug, 2018 2 commits
  4. 02 May, 2018 1 commit
    • Cedric Roux's avatar
      T tracer: don't depend on T_BUFFER_MAX anymore in the tracers · 52cf61de
      Cedric 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
  5. 27 Oct, 2017 2 commits