Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
600f46dd
Commit
600f46dd
authored
Jan 11, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused backtrace function
parent
6553239f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
99 deletions
+5
-99
CMakeLists.txt
CMakeLists.txt
+1
-7
common/utils/backtrace.c
common/utils/backtrace.c
+0
-51
common/utils/backtrace.h
common/utils/backtrace.h
+0
-35
common/utils/threadPool/Makefile
common/utils/threadPool/Makefile
+1
-1
doc/Doxyfile
doc/Doxyfile
+0
-1
openair1/PHY/TOOLS/Makefile
openair1/PHY/TOOLS/Makefile
+3
-3
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+0
-1
No files found.
CMakeLists.txt
View file @
600f46dd
...
...
@@ -300,11 +300,7 @@ add_boolean_option(UE_DEBUG_TRACE False "Activate UE debug trace" ON)
add_boolean_option
(
UE_TIMING_TRACE False
"Activate UE timing trace"
ON
)
set
(
OCP_ITTI
${
OPENAIR_DIR
}
/common/utils/ocp_itti
)
add_library
(
ITTI
${
OCP_ITTI
}
/intertask_interface.cpp
${
OPENAIR_DIR
}
/common/utils/backtrace.c
)
add_library
(
ITTI
${
OCP_ITTI
}
/intertask_interface.cpp
)
target_link_libraries
(
ITTI PRIVATE asn1_nr_rrc asn1_lte_rrc
)
# asn1c skeletons have hardcoded this flag to make customized debug logs
...
...
@@ -783,7 +779,6 @@ add_library(UTIL
${
OPENAIR_DIR
}
/common/utils/threadPool/thread-pool.c
${
OPENAIR_DIR
}
/common/utils/utils.c
${
OPENAIR_DIR
}
/common/utils/system.c
${
OPENAIR_DIR
}
/common/utils/backtrace.c
${
OPENAIR_DIR
}
/common/utils/time_meas.c
${
OPENAIR_DIR
}
/common/utils/time_stat.c
)
...
...
@@ -2116,7 +2111,6 @@ add_definitions(-DASN1_MINIMUM_VERSION=924)
# add executables for operation
#################################
add_library
(
minimal_lib
${
OPENAIR_DIR
}
/common/utils/backtrace.c
${
OPENAIR_DIR
}
/common/utils/LOG/log.c
${
OPENAIR_DIR
}
/common/utils/minimal_stub.c
${
T_SOURCE
}
...
...
common/utils/backtrace.c
deleted
100644 → 0
View file @
6553239f
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <execinfo.h>
#include <common/utils/backtrace.h>
/* Obtain a backtrace and print it to stdout. */
void
display_backtrace
(
void
)
{
void
*
array
[
10
];
size_t
size
;
char
**
strings
;
size_t
i
;
char
*
test
=
getenv
(
"NO_BACKTRACE"
);
if
(
test
!=
0
)
abort
();
size
=
backtrace
(
array
,
10
);
strings
=
backtrace_symbols
(
array
,
size
);
printf
(
"Obtained %u stack frames.
\n
"
,
(
unsigned
int
)
size
);
for
(
i
=
0
;
i
<
size
;
i
++
)
printf
(
"%s
\n
"
,
strings
[
i
]);
free
(
strings
);
}
common/utils/backtrace.h
deleted
100644 → 0
View file @
6553239f
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include <signal.h>
#ifndef BACKTRACE_H_
#define BACKTRACE_H_
#ifdef __cplusplus
extern
"C"
{
#endif
void
display_backtrace
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* BACKTRACE_H_ */
common/utils/threadPool/Makefile
View file @
600f46dd
thread-pool-test
:
thread-pool.c thread-pool.h
gcc
-g
-O3
thread-pool.c
-I
${OPENAIR_DIR}
/nfapi/open-nFAPI/nfapi/public_inc
-I
${OPENAIR_DIR}
/
-I
${OPENAIR_DIR}
/common/utils/
-I
.
${OPENAIR_DIR}
/common/utils/backtrace.c
-I
${OPENAIR_DIR}
/openair2/COMMON
${OPENAIR_DIR}
/common/utils/system.c
${OPENAIR_DIR}
/common/utils/LOG/log.c
${OPENAIR_DIR}
/common/config/config_userapi.c
${OPENAIR_DIR}
/common/config/config_load_configmodule.c
${OPENAIR_DIR}
/common/config/config_cmdline.c
-lpthread
-ldl
-D
TEST_THREAD_POOL
-DMAX_NUM_CCs
=
1
-I
../LOG
-I
../../utils/T
-o
thread-pool-test
gcc
-g
-O3
thread-pool.c
-I
${OPENAIR_DIR}
/nfapi/open-nFAPI/nfapi/public_inc
-I
${OPENAIR_DIR}
/
-I
${OPENAIR_DIR}
/common/utils/
-I
.
-I
${OPENAIR_DIR}
/openair2/COMMON
${OPENAIR_DIR}
/common/utils/system.c
${OPENAIR_DIR}
/common/utils/LOG/log.c
${OPENAIR_DIR}
/common/config/config_userapi.c
${OPENAIR_DIR}
/common/config/config_load_configmodule.c
${OPENAIR_DIR}
/common/config/config_cmdline.c
-lpthread
-ldl
-D
TEST_THREAD_POOL
-DMAX_NUM_CCs
=
1
-I
../LOG
-I
../../utils/T
-o
thread-pool-test
doc/Doxyfile
View file @
600f46dd
...
...
@@ -890,7 +890,6 @@ INPUT = \
@CMAKE_CURRENT_SOURCE_DIR@/../common/config/config_userapi.c \
@CMAKE_CURRENT_SOURCE_DIR@/../common/oai_asn1.h \
@CMAKE_CURRENT_SOURCE_DIR@/../common/utils/time_meas.h \
@CMAKE_CURRENT_SOURCE_DIR@/../common/utils/backtrace.c \
@CMAKE_CURRENT_SOURCE_DIR@/../common/utils/time_stat.h \
@CMAKE_CURRENT_SOURCE_DIR@/../common/utils/load_module_shlib.h \
@CMAKE_CURRENT_SOURCE_DIR@/../common/utils/time_meas.c \
...
...
openair1/PHY/TOOLS/Makefile
View file @
600f46dd
...
...
@@ -2,14 +2,14 @@ oai_dfts_sse4: oai_dfts.c
gcc
-O3
-std
=
gnu99
-msse4
.1
-o
oai_dfts_sse4 oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
oai_dfts_avx2
:
oai_dfts.c
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
oai_dfts_avx2 oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
oai_dfts_avx2 oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
oai_dfts_avx2.s
:
oai_dfts.c
gcc
-O2
-std
=
gnu99
-mavx2
-S
oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-mavx2
-S
oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
oai_dfts_sse4.s
:
oai_dfts.c
gcc
-O2
-std
=
gnu99
-msse4
.1
-S
oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-msse4
.1
-S
oai_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR_TARGETS/COMMON
-I
$$
OPENAIR_HOME/radio/COMMON
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-I
$$
OPENAIR_HOME/common/utils/msc
-I
$$
OPENAIR_HOME/nfapi/open-nFAPI/nfapi/public_inc
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
dft_cycles_avx2
:
oai_dfts_avx2
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
600f46dd
...
...
@@ -2063,7 +2063,6 @@ UE_RNTI(module_id_t mod_idP,
}
//LOG_D(MAC, "[eNB %d] Couldn't find RNTI for UE %d\n", mod_idP, ue_idP);
//display_backtrace();
return
(
NOT_A_RNTI
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment