From b5ac761326623ebbdae61b4254104af105e08719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 8 Dec 2011 14:09:53 +0100 Subject: Deprecate the inviso application --- lib/inviso/doc/src/inviso.xml | 4 ++++ lib/inviso/doc/src/inviso_chapter.xml | 6 +++++- lib/inviso/src/inviso.erl | 1 + lib/stdlib/src/otp_internal.erl | 3 ++- 4 files changed, 12 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/inviso/doc/src/inviso.xml b/lib/inviso/doc/src/inviso.xml index 44fe7a3a78..aac509e014 100644 --- a/lib/inviso/doc/src/inviso.xml +++ b/lib/inviso/doc/src/inviso.xml @@ -30,6 +30,10 @@ inviso Main API Module to the Inviso Tracer + +

The inviso application is deprecated and will be + removed in the R16 release.

+

With the inviso API runtime components can be started and tracing managed across a network of distributed Erlang nodes, using a control component also started with inviso API functions.

Inviso can be used both in a distributed environment and in a non-distributed. API functions not taking a list of nodes as argument works on all started runtime components. If it is the non-distributed case, that is the local runtime component. The API functions taking a list of nodes as argument, or as part of one of the arguments, can not be used in a non-distributed environment. Return values named NodeResult refers to return values from a single Erlang node, and will therefore be the return in the non-distributed environment.

diff --git a/lib/inviso/doc/src/inviso_chapter.xml b/lib/inviso/doc/src/inviso_chapter.xml index 4480099c67..922a038599 100644 --- a/lib/inviso/doc/src/inviso_chapter.xml +++ b/lib/inviso/doc/src/inviso_chapter.xml @@ -30,8 +30,12 @@
- Introduction

inviso: (Latin) to go to see, visit, inspect, look at.

+ +

The inviso application is deprecated and will be + removed in the R16 release.

+
+ Introduction

The Inviso trace system consists of one or several runtime components supposed to run on each Erlang node doing tracing and one control component which can run on any node with available processor power. Inviso may also be part of a higher layer trace tool. See the inviso-tool as an example. The implementation is spread out over the Runtime_tools and the Inviso Erlang/OTP applications. Erlang modules necessary to run the runtime component are located in Runtime_tools and therefore assumed to be available on any node. Even though Inviso is introduced with Erlang/OTP R11B the runtime component implementation is done with backward compatibility in mind. Meaning that it is possible to compile and run it on older Erlang/OTP releases.

Inviso Trace System Architecture Overview. diff --git a/lib/inviso/src/inviso.erl b/lib/inviso/src/inviso.erl index 0eda06a5c2..07bdf3e649 100644 --- a/lib/inviso/src/inviso.erl +++ b/lib/inviso/src/inviso.erl @@ -25,6 +25,7 @@ %% ------------------------------------------------------------------------------ -module(inviso). +-deprecated(module). %% ------------------------------------------------------------------------------ %% Exported API functions. diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index ade79e710a..7bacc05ff2 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -348,7 +348,8 @@ obsolete_1(asn1rt, F, _) when F == load_driver; F == unload_driver -> {deprecated,"deprecated (will be removed in R16A); has no effect as drivers are no longer used."}; obsolete_1(ssl, pid, 1) -> {deprecated,"deprecated (will be removed in R17); is no longer needed"}; - +obsolete_1(inviso, _, _) -> + {deprecated,"the inviso application has been deprecated and will be removed in R16"}; obsolete_1(_, _, _) -> no. -- cgit v1.2.3