X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-ust.c;h=b6e756cc6b9134a506558af00b872e7542aad3d1;hb=90c106c686bee2d1dedf1496140f9291d3b16799;hp=b6cf57cf2360bad1030fc1dfbf664ad41ea4018a;hpb=fc4b93fa8aa36b19caad0f8dc4a6a3237fcc36bf;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond/trace-ust.c index b6cf57cf2..b6e756cc6 100644 --- a/src/bin/lttng-sessiond/trace-ust.c +++ b/src/bin/lttng-sessiond/trace-ust.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * * SPDX-License-Identifier: GPL-2.0-only @@ -560,7 +560,7 @@ int trace_ust_context_type_event_to_ust( utype = LTTNG_UST_ABI_CONTEXT_IP; break; case LTTNG_EVENT_CONTEXT_PERF_THREAD_COUNTER: - if (!ustctl_has_perf_counters()) { + if (!lttng_ust_ctl_has_perf_counters()) { utype = -1; WARN("Perf counters not implemented in UST"); } else {