Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80157 > unrolled thread

Bug#1050353: linux: Enable System Trace Modules and Intel_TH_STH

Started byMiguel Bernal Marin <miguel.bernal.marin@gmail.com>
First post2023-08-23 18:10 +0200
Last post2023-12-20 14:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1050353: linux: Enable System Trace Modules and Intel_TH_STH Miguel Bernal Marin <miguel.bernal.marin@gmail.com> - 2023-08-23 18:10 +0200
    Bug#1050353: marked as done (linux: Enable System Trace Modules  and Intel_TH_STH) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-12-20 14:10 +0100

#80157 — Bug#1050353: linux: Enable System Trace Modules and Intel_TH_STH

FromMiguel Bernal Marin <miguel.bernal.marin@gmail.com>
Date2023-08-23 18:10 +0200
SubjectBug#1050353: linux: Enable System Trace Modules and Intel_TH_STH
Message-ID<H5YAF-3SUI-1@gated-at.bofh.it>
Source: linux
Version: 6.5~rc6-1~exp1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: miguel.bernal.marin@linux.intel.com, jair.gonzalez@linux.intel.com

Dear Maintainer,

Please enable the System Trace Module (STM) and the Intel Trace Hub Software
Trace Hub on arch amd64/x86_64, on Debian Trixie.

CONFIG_STM=m
CONFIG_STM_PROTO_BASIC=m
CONFIG_STM_PROTO_SYS_T=m
CONFIG_STM_DUMMY=m
CONFIG_STM_SOURCE_CONSOLE=m
CONFIG_STM_SOURCE_HEARTBEAT=m
CONFIG_STM_SOURCE_FTRACE=m
CONFIG_INTEL_TH_STH=m

System Trace Module (STM) is a kind of trace source device [1], which can not
only collect trace data from software sources, but also monitor hardware
events.

Any software program no matter where it is in kernel space or user space
can write STM device with message string (i.e. trace data), like using print
functions.

Each software or hardware trace source is assigned a unique pair of master
and channel, so that a decoder can know which source the trace data come
from by this.  As a kind of resource, the number of masters and channels
are limited, for example *Intel STH* has up to 65,536 masters
and up to 256 channels per master.

Unlike some traditional tracing approach which would lose all traces once system
crashed since the traces are stored in system memory, tracing with STM can
survive this kind of case because all traces collected via STM would end up in
sink device which can be still alive even the system is dead so long as the
hardware design allows it.There’s another benefit of using STM to collect
software traces or monitor hardware events.  Since everything is logged to the
same STM with timestamps, it is possible to correlate events happening in the
entire system rather than being confined to the logging facility of a single
entity.

A MR was created with this proposal at:

https://salsa.debian.org/kernel-team/linux/-/merge_requests/815

[1] https://www.linaro.org/blog/stm-and-its-usage/

Thanks,
Miguel Bernal Marin

[toc] | [next] | [standalone]


#81277 — Bug#1050353: marked as done (linux: Enable System Trace Modules and Intel_TH_STH)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-12-20 14:10 +0100
SubjectBug#1050353: marked as done (linux: Enable System Trace Modules and Intel_TH_STH)
Message-ID<HN4uJ-eRML-1@gated-at.bofh.it>
In reply to#80157

[Multipart message — attachments visible in raw view] — view raw

Your message dated Wed, 20 Dec 2023 13:00:10 +0000
with message-id <E1rFwBG-001uwf-Lf@fasolo.debian.org>
and subject line Bug#1050353: fixed in linux 6.6.7-1~exp1
has caused the Debian Bug report #1050353,
regarding linux: Enable System Trace Modules and Intel_TH_STH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1050353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050353
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web