mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
minorfix(imscope): moving alignas from struct type to atomic variable to avoid psABI note
Signed-off-by: Turker Yilmaz <turker87@gmail.com>
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
#define MAX_KBYTES_WRITTEN_PER_SESSION (1000 * 1000)
|
||||
|
||||
ImScopeDataWrapper scope_array[EXTRA_SCOPE_TYPES];
|
||||
typedef struct alignas(hardware_destructive_interference_size) ImScopeDumpInstruction {
|
||||
typedef struct ImScopeDumpInstruction {
|
||||
int slot;
|
||||
int frame;
|
||||
const char *cause;
|
||||
} ImScopeDumpInstruction;
|
||||
|
||||
std::atomic<ImScopeDumpInstruction> dump_instruction;
|
||||
alignas(hardware_destructive_interference_size) std::atomic<ImScopeDumpInstruction> dump_instruction;
|
||||
ImScopeDumpInstruction void_instruction({-1, -1, nullptr});
|
||||
|
||||
extern "C" void imscope_record_autoinit(void *dataptr)
|
||||
|
||||
Reference in New Issue
Block a user