diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-08-14 18:20:51 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-06 17:23:55 +0200 |
commit | ce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab (patch) | |
tree | 9703bd180d952b099011b9d10398fd2dc7ca398d /erts/emulator/beam/erl_alloc.h | |
parent | 955cd62970391b40123f2b9dee3bb3380233c17e (diff) | |
download | otp-ce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab.tar.gz otp-ce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab.tar.bz2 otp-ce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab.zip |
erts: Add lttng tracepoints for memory carriers
* carrier_create
* carrier_destroy
* carrier_pool_put
* carrier_pool_get
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
-rw-r--r-- | erts/emulator/beam/erl_alloc.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h index 71e4713624..ee2013bd93 100644 --- a/erts/emulator/beam/erl_alloc.h +++ b/erts/emulator/beam/erl_alloc.h @@ -235,9 +235,9 @@ void *erts_alloc(ErtsAlcType_t type, Uint size) void *res; ERTS_MSACC_PUSH_AND_SET_STATE_X(ERTS_MSACC_STATE_ALLOC); res = (*erts_allctrs[ERTS_ALC_T2A(type)].alloc)( - ERTS_ALC_T2N(type), - erts_allctrs[ERTS_ALC_T2A(type)].extra, - size); + ERTS_ALC_T2N(type), + erts_allctrs[ERTS_ALC_T2A(type)].extra, + size); if (!res) erts_alloc_n_enomem(ERTS_ALC_T2N(type), size); ERTS_MSACC_POP_STATE_X(); @@ -564,5 +564,3 @@ NAME##_free(TYPE *p) \ #undef ERTS_ALC_ATTRIBUTES #endif /* #ifndef ERL_ALLOC_H__ */ - - |