projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump minimum kernel version to 2.6.30 to use EFD_SEMAPHORE
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
action-executor.cpp
diff --git
a/src/bin/lttng-sessiond/action-executor.cpp
b/src/bin/lttng-sessiond/action-executor.cpp
index f43716c63986673377890c8a635f25c149a4f7d7..cc481e5b74fad316b6354306b9f7c3f5fe743545 100644
(file)
--- a/
src/bin/lttng-sessiond/action-executor.cpp
+++ b/
src/bin/lttng-sessiond/action-executor.cpp
@@
-821,7
+821,7
@@
static void clean_up_action_executor_thread(void *_data)
struct action_executor *action_executor_create(
struct notification_thread_handle *handle)
{
struct action_executor *action_executor_create(
struct notification_thread_handle *handle)
{
- struct action_executor *executor =
(action_executor *) zmalloc(sizeof(*executor)
);
+ struct action_executor *executor =
zmalloc<action_executor>(
);
if (!executor) {
goto end;
if (!executor) {
goto end;
@@
-893,7
+893,7
@@
enum action_executor_status action_executor_enqueue_trigger(
goto error_unlock;
}
goto error_unlock;
}
- work_item =
(action_work_item *) zmalloc(sizeof(*work_item)
);
+ work_item =
zmalloc<action_work_item>(
);
if (!work_item) {
PERROR("Failed to allocate action executor work item: trigger name = `%s`",
get_trigger_name(trigger));
if (!work_item) {
PERROR("Failed to allocate action executor work item: trigger name = `%s`",
get_trigger_name(trigger));
This page took
0.032468 seconds
and
4
git commands to generate.