Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
1
.crash-trace-command.metadata
Normal file
1
.crash-trace-command.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
b9636e856f96e77b2047e12c3d87991ec88b067c SOURCES/crash-trace-command-3.0.tar.gz
|
@ -45,6 +45,7 @@ altering implementation of crash utility, we have no choice but accept
|
|||||||
breaking backward-compatibility for the time being.
|
breaking backward-compatibility for the time being.
|
||||||
|
|
||||||
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
||||||
|
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
|
||||||
---
|
---
|
||||||
trace.c | 49 +++++++++++++++++++++++++++++++++++++++++++++----
|
trace.c | 49 +++++++++++++++++++++++++++++++++++++++++++++----
|
||||||
1 file changed, 45 insertions(+), 4 deletions(-)
|
1 file changed, 45 insertions(+), 4 deletions(-)
|
||||||
|
@ -1,157 +1,61 @@
|
|||||||
#
|
|
||||||
# crash core analysis suite
|
|
||||||
#
|
|
||||||
%global reponame crash-trace
|
%global reponame crash-trace
|
||||||
|
|
||||||
Summary: Trace extension module for the crash utility
|
Summary: Trace extension module for the crash utility
|
||||||
Name: crash-trace-command
|
Name: crash-trace-command
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 2%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Debuggers
|
|
||||||
Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: https://github.com/fujitsu/crash-trace
|
URL: https://github.com/fujitsu/crash-trace
|
||||||
# Vendor: Fujitsu Limited
|
|
||||||
# Packager: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
|
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x aarch64 ppc64le
|
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
BuildRequires: crash-devel >= 8.0.4-1
|
||||||
BuildRequires: zlib-devel lzo-devel snappy-devel
|
BuildRequires: gcc
|
||||||
BuildRequires: crash-devel >= 8.0.3-1
|
|
||||||
Requires: trace-cmd
|
Requires: trace-cmd
|
||||||
Requires: crash >= 8.0.3-1
|
Requires: crash >= 8.0.4-1
|
||||||
|
|
||||||
Patch0: 0001-Makefile-set-DT_SONAME-to-trace.so.patch
|
Patch0001: 0001-Makefile-set-DT_SONAME-to-trace.so.patch
|
||||||
Patch1: 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
|
Patch0002: 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
|
||||||
Patch2: 0003-trace-Support-module-memory-layout-change-on-Linux-6.patch
|
Patch0003: 0003-trace-Support-module-memory-layout-change-on-Linux-6.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Command for reading ftrace data from a dump file.
|
Command for reading ftrace data from a dump file.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{reponame}-%{version}
|
%autosetup -n %{reponame}-%{version}
|
||||||
%patch -P 0 -p1 -b 0001-Makefile-set-DT_SONAME-to-trace.so.patch
|
|
||||||
%patch -P 1 -p1 -b 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
|
|
||||||
%patch -P 2 -p1 -b 0003-trace-Support-module-memory-layout-change-on-Linux-6.patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
|
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
||||||
cp %{_builddir}/%{reponame}-%{version}/trace.so %{buildroot}%{_libdir}/crash/extensions/
|
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/trace.so
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%dir %{_libdir}/crash
|
||||||
|
%dir %{_libdir}/crash/extensions
|
||||||
%{_libdir}/crash/extensions/trace.so
|
%{_libdir}/crash/extensions/trace.so
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Nov 21 2023 Lianbo Jiang <lijiang@redhat.com> - 3.0-2
|
* Mon Nov 20 2023 Lianbo Jiang <lijiang@redhat.com> - 3.0-7
|
||||||
- Support module memory layout change on Linux 6.4
|
- Support module memory layout change on Linux 6.4
|
||||||
|
|
||||||
* Fri Nov 18 2022 Lianbo Jiang <lijiang@redhat.com> - 3.0-1
|
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 3.0-6
|
||||||
- Rebase to upstream v3.0
|
- Rebuild for the compatibility issue
|
||||||
- Update to the latest upstream commit
|
|
||||||
Resolves: rhbz#2119709
|
|
||||||
|
|
||||||
* Mon Feb 08 2021 Lianbo Jiang <lijiang@redhat.com> - 2.0-18
|
* Thu Dec 09 2021 Lianbo Jiang <lijiang@redhat.com> - 3.0-5
|
||||||
- Rename trace_buffer to array_buffer
|
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
|
||||||
- Rename ring_buffer to trace_buffer
|
|
||||||
Resolves: rhbz#1925907
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Bhupesh Sharma <bhsharma@redhat.com> - 2.0-17
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-4
|
||||||
- Chnage Source/URL to point to the latest github location
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Resolves: rhbz#1851746
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Tue Apr 28 2019 Dave Anderson <anderson@redhat.com> - 2.0-16
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-3
|
||||||
- Fix for RHEL7 ftrace_event_call data structure change
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
Resolves: rhbz#1827734
|
|
||||||
|
|
||||||
* Wed Sep 19 2018 Dave Anderson <anderson@redhat.com> - 2.0-15
|
* Fri Feb 19 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 3.0-2
|
||||||
- annocheck: link with -Wl,-z,now
|
- Makefile: set DT_SONAME to trace.so
|
||||||
Resolves: rhbz#1630558
|
- Makefile: fix build failure on aarch64 and ppc64le
|
||||||
|
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 3.0-1
|
||||||
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 2.0-14
|
|
||||||
- Bump release for mass rebuild
|
|
||||||
Resolves: rhbz#1615511
|
|
||||||
|
|
||||||
* Wed Dec 6 2017 Dave Anderson <anderson@redhat.com> - 2.0.13
|
|
||||||
- Build requires crash-devel-7.2.0-2 and usage requires crash-7.2.0-2
|
|
||||||
because of load_module structure change.
|
|
||||||
Resolves: rhbz#1520825
|
|
||||||
|
|
||||||
* Sun Apr 16 2017 Dave Anderson <anderson@redhat.com> - 2.0.12
|
|
||||||
- Differentiate ppc64 .ring_buffer_read text symbol from ring_buffer_read data symbol
|
|
||||||
- Fix for ring_buffer_per_cpu.nr_pages size change on big-endian systems
|
|
||||||
- Fix for Linux 4.7 change to the TRACE_EVENT_FL_TRACEPOINT flag
|
|
||||||
Resolves: rhbz#1441914
|
|
||||||
Resolves: rhbz#1440726
|
|
||||||
|
|
||||||
* Thu Feb 25 2016 Dave Anderson <anderson@redhat.com> - 2.0-10
|
|
||||||
- Fix for ftrace symbol name changes in Linux 4.2
|
|
||||||
Resolves: rhbz#1265553
|
|
||||||
|
|
||||||
* Tue Sep 02 2014 Dave Anderson <anderson@redhat.com> - 2.0-9
|
|
||||||
- Add ppc64le support.
|
|
||||||
Resolves: rhbz#1123995
|
|
||||||
|
|
||||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.0-8
|
|
||||||
- Mass rebuild 2014-01-24
|
|
||||||
|
|
||||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0-7
|
|
||||||
- Mass rebuild 2013-12-27
|
|
||||||
|
|
||||||
* Thu Dec 5 2013 Dave Anderson <anderson@redhat.com> - 2.0-6
|
|
||||||
- Add Linux 3.10 support.
|
|
||||||
Resolves: rhbz#863833
|
|
||||||
|
|
||||||
* Tue Nov 12 2013 Dave Anderson <anderson@redhat.com> - 2.0-5
|
|
||||||
- Add ARM64 support.
|
|
||||||
Resolves: rhbz#1028580
|
|
||||||
|
|
||||||
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 2.0-4
|
|
||||||
- crash utility has added LZO and snappy compression in addition to zlib
|
|
||||||
|
|
||||||
* Wed May 29 2013 Dave Anderson <anderson@redhat.com> - 2.0-3
|
|
||||||
- Replace obsolete _init() and _fini() functions.
|
|
||||||
- Fix possible segmentation violation on calloc() failure.
|
|
||||||
- Initialize trace_dat to avoid compiler warning.
|
|
||||||
|
|
||||||
* Mon Nov 26 2012 Dave Anderson <anderson@redhat.com> - 2.0-2
|
|
||||||
- trace-cmd package required
|
|
||||||
- rpmlint cleanups to this file
|
|
||||||
- fix compiler warnings for trace.c
|
|
||||||
|
|
||||||
* Wed Nov 21 2012 Qiao Nuohan <qiaonuohan@cn.fujitsu.com> - 2.0-1
|
|
||||||
- update code
|
|
||||||
Resolves: rhbz#863833
|
|
||||||
|
|
||||||
* Wed Feb 8 2012 Dave Anderson <anderson@redhat.com> - 1.0-4
|
|
||||||
- Build with RPM_OPT_FLAGS.
|
|
||||||
Resolves: rhbz#729018
|
|
||||||
|
|
||||||
* Wed Jun 9 2010 Dave Anderson <anderson@redhat.com> - 1.0-3
|
|
||||||
- Remove trace_dump.patch, which requires a kernel later than
|
|
||||||
the RHEL6 base of 2.6.32.
|
|
||||||
Resolves: rbhz#601536
|
|
||||||
|
|
||||||
* Mon May 24 2010 Dave Anderson <anderson@redhat.com> - 1.0-2
|
|
||||||
- Fix for segmentation violation with "trace show -c cpu" command,
|
|
||||||
and add "trace dump -t" command.
|
|
||||||
Resolves: rbhz#592887
|
|
||||||
|
|
||||||
* Wed Dec 09 2009 Dave Anderson <anderson@redhat.com> - 1.0-1.2
|
|
||||||
- fix Makefile to account for s390 build
|
|
||||||
- change exclusive arch entry from i386 to {ix86}
|
|
||||||
- Resolves: rbhz#545564
|
|
||||||
|
|
||||||
* Tue Dec 08 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.0-1.1
|
|
||||||
- Rebuilt for RHEL 6
|
|
||||||
|
|
||||||
* Fri Sep 25 2009 Dave Anderson <anderson@redhat.com>
|
|
||||||
- Initial crash-trace-command package
|
- Initial crash-trace-command package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user