Commit Graph

14 Commits

Author SHA1 Message Date
Jerome Marchand
5a09a9fdb8 Remove last elements of local libtracefs and libtraceevent
Whithout this fix, trace-cmd fails to build with the latest
libtraceevent.

Resolves: rhbz#2215979
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2023-07-31 09:30:08 +02:00
Jerome Marchand
d35482cb66 Add flight recoder service
Flight recorder service, trace-cmd.service, provides a feature to
automatically start trace-cmd command at every system start-up and to
automatically reload trace-cmd command at every kernel module loading
to enable tracepoints provided by kernel modules.

Thanks to this feature, once system panic occurs, users retrieve
ftrace ring buffer from crash dump that is created by some crash dump
mechanism such as kdump and virsh dump using crash trace command [1]
and can perform failure analysis based on ftrace event logs.

Historically, this feature has been provided only in the RHEL7 and
RHEL8 versions of trace-cmd packages so far. However, with the
introduction of CentOS Stream, RHEL's development process changed and
now CentOS Stream is an upstream of RHEL and Fedora Linux is the
upstream of CentOS Stream [2], due to which, Red Hat now follows
upstream-first policy strictly and requires this feature be provided
in its upstream.

[1] https://src.fedoraproject.org/rpms/crash-trace-command
[2] https://www.redhat.com/en/topics/linux/what-is-centos-stream

Resolves: rhbz#2070600

Signed-off-by: KUDOH Takashi <t-kudoh@fujitsu.com>
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-04-11 12:23:42 +02:00
Jerome Marchand
fd6689cbe5 Fix remaining gating runpath failure
libtracecmd contains an empty DT_RPATH tag. It doesn't make the
runpath check fail, but annocheck complains about it. Remove that
rpath too.

Related: rhbz#1978504
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-11-12 12:17:46 +01:00
Jerome Marchand
dfb3f05c20 Fix rpminspect gating failures
Two rpminspect gating test fails: runpath and annocheck. The first one
is fixed by running chrpath. The second by not ignoring LDFLAGS when
building the shared libs.

Related: rhbz#1978504
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-11-11 18:48:37 +01:00
Jerome Marchand
04def3daa9 Fix trace-cmd profile
Resolves: rhbz#1978504

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2021-11-11 10:58:20 +01:00
Mohan Boddu
2a70484123 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 01:08:11 +00:00
Qiao Zhao
0faa3f6b32 enable RHEL-9 gating for trace-cmd
Resolves: rhbz#1969277

Signed-off-by: Qiao Zhao <qzhao@redhat.com>
2021-06-08 14:23:03 +08:00
Jerome Marchand
d90fb34b25 Rebuild kernelshark
Related: rhbz#1947392
2021-04-22 09:06:48 +02:00
Mohan Boddu
53a185d950 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 05:56:20 +00:00
DistroBaker
e3cbe62c13 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/trace-cmd.git#d67fa86091bc95f3d0b41e523a7bd8991b2fefdd
2021-04-02 14:40:25 +00:00
DistroBaker
499c8a0df1 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/trace-cmd.git#4aadbf030a7f6c6cd8e1fb7d6f994c80cc1f5def
2021-02-04 21:22:33 +00:00
DistroBaker
895e24410f Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/trace-cmd.git#afb202a0664e93eac1a658da48f73681bb24f7ca
2020-12-02 07:08:26 +00:00
Troy Dawson
5a7c42a207 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/trace-cmd#57b6456aa8577d62c3ef6380cd0a72c49d77babf
2020-10-15 13:01:27 -07:00
Release Configuration Management
ec30dd068e New branch setup 2020-10-09 05:05:48 +00:00