2010-05-19 17:02:52 +00:00
|
|
|
# This is _NOT_ the library release version, it's an API version.
|
2016-12-13 17:41:17 +00:00
|
|
|
# Please read chapter "Library interface versions" of the libtool documentation
|
|
|
|
# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
|
2015-11-03 08:30:52 +00:00
|
|
|
LIBVERSION=3:0:0
|
2010-05-19 17:02:52 +00:00
|
|
|
|
2013-06-02 23:59:25 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
|
2015-12-05 22:38:18 +00:00
|
|
|
AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
|
2010-05-19 17:02:52 +00:00
|
|
|
|
2010-05-29 09:49:51 +00:00
|
|
|
if ENABLE_VTY
|
2010-05-19 17:02:52 +00:00
|
|
|
lib_LTLIBRARIES = libosmovty.la
|
|
|
|
|
|
|
|
libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \
|
VTY: implement talloc context introspection command
This change introduces a new command, which could be used to
inspect the application's talloc context directly from VTY.
To enable this feature, an application need to provide it's
context via the 'vty_app_info' struct, and register the VTY
command by calling the osmo_talloc_vty_add_cmds().
The new command is a sub-command of 'show':
show talloc-context <context> <depth> [filter]
Currently the following contexts may be inspected:
- application - a context provided by an application;
- null - all contexts, if NULL-context tracking is enabled.
A report depth is defined by the next parameter, and could be:
- full - full tree report, as the talloc_report_full() does;
- brief - brief tree report, as the talloc_report() does;
- DEPTH - user defined maximal report depth.
Also, there are two optional report filters:
- regexp - print only contexts, matching a regular expression;
- tree - print a specific context, pointed by specified address.
The command output is formatted the same way as in case of calling
the talloc_report() or talloc_report_full().
Change-Id: I43fc42880b22294d83c565ae600ac65e4f38b30d
2017-09-23 16:00:07 +00:00
|
|
|
telnet_interface.c logging_vty.c stats_vty.c \
|
|
|
|
fsm_vty.c talloc_ctx_vty.c
|
2015-12-05 22:38:18 +00:00
|
|
|
libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined $(TALLOC_LIBS)
|
2011-02-19 07:10:51 +00:00
|
|
|
libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la
|
2010-05-29 09:49:51 +00:00
|
|
|
endif
|