X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent-notifier-error-accounting.cpp;h=49a54ff50ad28990fd19f1bac29b1c0830ed6868;hb=f46376a14da2eb796690cb4e718e8b213839d6ea;hp=c99c39338fbe1fbcf6c5237d75fd28fb1fde4b16;hpb=1970828049d051d5cb485dfab995081b4550fd2a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.cpp b/src/bin/lttng-sessiond/event-notifier-error-accounting.cpp index c99c39338..49a54ff50 100644 --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.cpp +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.cpp @@ -369,7 +369,7 @@ struct ust_error_accounting_entry *ust_error_accounting_entry_find( */ static struct ust_error_accounting_entry *ust_error_accounting_entry_create( - struct lttng_ht *uid_ht, const struct ust_app *app) + const struct ust_app *app) { int i, ret, *cpu_counter_fds = NULL; struct lttng_ust_ctl_daemon_counter *daemon_counter; @@ -611,8 +611,7 @@ event_notifier_error_accounting_register_app(struct ust_app *app) */ pthread_mutex_lock(&the_event_notifier_counter.lock); - entry = ust_error_accounting_entry_create(error_counter_uid_ht, - app); + entry = ust_error_accounting_entry_create(app); if (!entry) { status = EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_ERR; pthread_mutex_unlock(&the_event_notifier_counter.lock);