Project

General

Profile

Actions

Bug #850

closed

Please consider makeing !LTTNG_UST_HAVE_PERF_EVENT not inline

Added by Michael Vogt over 9 years ago. Updated over 9 years ago.

Status:
Won't fix
Priority:
Low
Assignee:
-
Target version:
-
Start date:
10/28/2014
Due date:
% Done:

0%

Estimated time:

Description

The current header file ust-events.h has something like this:

#ifdef LTTNG_UST_HAVE_PERF_EVENT
...
#else
static inline
void lttng_perf_counter_exit(void) {
}
#endif /* #else #ifdef LTTNG_UST_HAVE_PERF_EVENT */

Please consider not making this inline so that it appears as a regular library symbol.

On Debian/Ubuntu we use the dpkg-gensymbols utility that tracks when symbols get added or removed from shared libraries and it would be nice to be able to use the same symbols file for all architectures.

Actions #1

Updated by Christian Babeux over 9 years ago

  • Status changed from New to Won't fix

This feature is specific to each architecture. It is intended for the symbol to be absent when the feature is unavailable.

Actions

Also available in: Atom PDF