File 2374-runtime_tools-docs-add-license-header.patch of Package erlang
From ba5a589b5774d81e824c3aee6d5baa1485a81265 Mon Sep 17 00:00:00 2001
From: Fredrik Frantzen <frazze@erlang.org>
Date: Wed, 28 May 2025 09:53:12 +0200
Subject: [PATCH] runtime_tools: docs add license header
---
lib/runtime_tools/doc/guides/dbg_guide.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/lib/runtime_tools/doc/guides/dbg_guide.md b/lib/runtime_tools/doc/guides/dbg_guide.md
index 20719377a1..2b2e8b3b32 100644
--- a/lib/runtime_tools/doc/guides/dbg_guide.md
+++ b/lib/runtime_tools/doc/guides/dbg_guide.md
@@ -1,3 +1,24 @@
+<!--
+%CopyrightBegin%
+
+SPDX-License-Identifier: Apache-2.0
+
+Copyright Ericsson AB 2023-2025. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+%CopyrightEnd%
+-->
# Tracing in Erlang with [**dbg**](`m:dbg`)
The [`dbg`](`m:dbg`) module in Erlang provides a text-based interface for tracing function calls, processes, ports, and messages. It simplifies the use of the underlying `trace:process/4`, `trace:port/4`, and `trace:function/4` BIFs (Built-In Functions). This guide will walk you through the basics of using `dbg` for your Erlang applications.
--
2.43.0