|
|
69ce21 |
#
|
|
|
69ce21 |
# crash core analysis suite
|
|
|
69ce21 |
#
|
|
|
e01d91 |
%global reponame crash-trace
|
|
|
e01d91 |
|
|
|
69ce21 |
Summary: Trace extension module for the crash utility
|
|
|
69ce21 |
Name: crash-trace-command
|
|
|
e01d91 |
Version: 3.0
|
|
|
e01d91 |
Release: 1%{?dist}
|
|
|
69ce21 |
License: GPLv2
|
|
|
69ce21 |
Group: Development/Debuggers
|
|
|
e01d91 |
Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
e01d91 |
URL: https://github.com/fujitsu/crash-trace
|
|
|
69ce21 |
# Vendor: Fujitsu Limited
|
|
|
69ce21 |
# Packager: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
|
|
|
69ce21 |
ExclusiveOS: Linux
|
|
|
93fd39 |
ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x aarch64 ppc64le
|
|
|
69ce21 |
Buildroot: %{_tmppath}/%{name}-root
|
|
|
69ce21 |
BuildRequires: zlib-devel lzo-devel snappy-devel
|
|
|
69ce21 |
BuildRequires: crash-devel >= 7.2.0-2
|
|
|
69ce21 |
Requires: trace-cmd
|
|
|
69ce21 |
Requires: crash >= 7.2.0-2
|
|
|
e01d91 |
|
|
|
e01d91 |
Patch0: 0001-Makefile-set-DT_SONAME-to-trace.so.patch
|
|
|
e01d91 |
Patch1: 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
|
|
Pablo Greco |
31c4d8 |
|
|
|
69ce21 |
%description
|
|
|
69ce21 |
Command for reading ftrace data from a dumpfile.
|
|
|
69ce21 |
|
|
|
69ce21 |
%prep
|
|
|
e01d91 |
%setup -q -n %{reponame}-%{version}
|
|
|
e01d91 |
%patch0 -p1 -b 0001-Makefile-set-DT_SONAME-to-trace.so.patch
|
|
|
e01d91 |
%patch1 -p1 -b 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
|
|
Pablo Greco |
31c4d8 |
|
|
|
69ce21 |
%build
|
|
|
69ce21 |
make
|
|
|
69ce21 |
|
|
|
69ce21 |
%install
|
|
|
69ce21 |
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
|
|
|
e01d91 |
cp %{_builddir}/%{reponame}-%{version}/trace.so %{buildroot}%{_libdir}/crash/extensions/
|
|
|
69ce21 |
|
|
|
69ce21 |
%clean
|
|
|
69ce21 |
rm -rf %{buildroot}
|
|
|
69ce21 |
|
|
|
69ce21 |
%files
|
|
|
69ce21 |
%defattr(-,root,root)
|
|
|
69ce21 |
%{_libdir}/crash/extensions/trace.so
|
|
|
69ce21 |
%doc COPYING
|
|
|
69ce21 |
|
|
|
69ce21 |
%changelog
|
|
|
e01d91 |
* Fri Nov 18 2022 Lianbo Jiang <lijiang@redhat.com> - 3.0-1
|
|
|
e01d91 |
- Rebase to upstream v3.0
|
|
|
e01d91 |
- Update to the latest upstream commit
|
|
|
e01d91 |
Resolves: rhbz#2119709
|
|
|
e01d91 |
|
|
|
6adb17 |
* Mon Feb 08 2021 Lianbo Jiang <lijiang@redhat.com> - 2.0-18
|
|
|
6adb17 |
- Rename trace_buffer to array_buffer
|
|
|
6adb17 |
- Rename ring_buffer to trace_buffer
|
|
|
6adb17 |
Resolves: rhbz#1925907
|
|
|
6adb17 |
|
|
|
93fd39 |
* Mon Jul 27 2020 Bhupesh Sharma <bhsharma@redhat.com> - 2.0-17
|
|
|
93fd39 |
- Chnage Source/URL to point to the latest github location
|
|
|
93fd39 |
Resolves: rhbz#1851746
|
|
|
93fd39 |
|
|
|
93fd39 |
* Tue Apr 28 2019 Dave Anderson <anderson@redhat.com> - 2.0-16
|
|
|
93fd39 |
- Fix for RHEL7 ftrace_event_call data structure change
|
|
|
93fd39 |
Resolves: rhbz#1827734
|
|
Pablo Greco |
31c4d8 |
|
|
|
69ce21 |
* Wed Sep 19 2018 Dave Anderson <anderson@redhat.com> - 2.0-15
|
|
|
69ce21 |
- annocheck: link with -Wl,-z,now
|
|
|
69ce21 |
Resolves: rhbz#1630558
|
|
|
69ce21 |
|
|
|
69ce21 |
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 2.0-14
|
|
|
69ce21 |
- Bump release for mass rebuild
|
|
|
69ce21 |
Resolves: rhbz#1615511
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed Dec 6 2017 Dave Anderson <anderson@redhat.com> - 2.0.13
|
|
|
69ce21 |
- Build requires crash-devel-7.2.0-2 and usage requires crash-7.2.0-2
|
|
|
69ce21 |
because of load_module structure change.
|
|
|
69ce21 |
Resolves: rhbz#1520825
|
|
|
69ce21 |
|
|
|
69ce21 |
* Sun Apr 16 2017 Dave Anderson <anderson@redhat.com> - 2.0.12
|
|
|
69ce21 |
- Differentiate ppc64 .ring_buffer_read text symbol from ring_buffer_read data symbol
|
|
|
69ce21 |
- Fix for ring_buffer_per_cpu.nr_pages size change on big-endian systems
|
|
|
69ce21 |
- Fix for Linux 4.7 change to the TRACE_EVENT_FL_TRACEPOINT flag
|
|
|
69ce21 |
Resolves: rhbz#1441914
|
|
|
69ce21 |
Resolves: rhbz#1440726
|
|
|
69ce21 |
|
|
|
69ce21 |
* Thu Feb 25 2016 Dave Anderson <anderson@redhat.com> - 2.0-10
|
|
|
69ce21 |
- Fix for ftrace symbol name changes in Linux 4.2
|
|
|
69ce21 |
Resolves: rhbz#1265553
|
|
|
69ce21 |
|
|
|
69ce21 |
* Tue Sep 02 2014 Dave Anderson <anderson@redhat.com> - 2.0-9
|
|
|
69ce21 |
- Add ppc64le support.
|
|
|
69ce21 |
Resolves: rhbz#1123995
|
|
|
69ce21 |
|
|
|
69ce21 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.0-8
|
|
|
69ce21 |
- Mass rebuild 2014-01-24
|
|
|
69ce21 |
|
|
|
69ce21 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0-7
|
|
|
69ce21 |
- Mass rebuild 2013-12-27
|
|
|
69ce21 |
|
|
|
69ce21 |
* Thu Dec 5 2013 Dave Anderson <anderson@redhat.com> - 2.0-6
|
|
|
69ce21 |
- Add Linux 3.10 support.
|
|
|
69ce21 |
Resolves: rhbz#863833
|
|
|
69ce21 |
|
|
|
69ce21 |
* Tue Nov 12 2013 Dave Anderson <anderson@redhat.com> - 2.0-5
|
|
|
69ce21 |
- Add ARM64 support.
|
|
|
69ce21 |
Resolves: rhbz#1028580
|
|
|
69ce21 |
|
|
|
69ce21 |
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 2.0-4
|
|
|
69ce21 |
- crash utility has added LZO and snappy compression in addition to zlib
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed May 29 2013 Dave Anderson <anderson@redhat.com> - 2.0-3
|
|
|
69ce21 |
- Replace obsolete _init() and _fini() functions.
|
|
|
69ce21 |
- Fix possible segmentation violation on calloc() failure.
|
|
|
69ce21 |
- Initialize trace_dat to avoid compiler warning.
|
|
|
69ce21 |
|
|
|
69ce21 |
* Mon Nov 26 2012 Dave Anderson <anderson@redhat.com> - 2.0-2
|
|
|
69ce21 |
- trace-cmd package required
|
|
|
69ce21 |
- rpmlint cleanups to this file
|
|
|
69ce21 |
- fix compiler warnings for trace.c
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed Nov 21 2012 Qiao Nuohan <qiaonuohan@cn.fujitsu.com> - 2.0-1
|
|
|
69ce21 |
- update code
|
|
|
69ce21 |
Resolves: rhbz#863833
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed Feb 8 2012 Dave Anderson <anderson@redhat.com> - 1.0-4
|
|
|
69ce21 |
- Build with RPM_OPT_FLAGS.
|
|
|
69ce21 |
Resolves: rhbz#729018
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed Jun 9 2010 Dave Anderson <anderson@redhat.com> - 1.0-3
|
|
|
69ce21 |
- Remove trace_dump.patch, which requires a kernel later than
|
|
|
69ce21 |
the RHEL6 base of 2.6.32.
|
|
|
69ce21 |
Resolves: rbhz#601536
|
|
|
69ce21 |
|
|
|
69ce21 |
* Mon May 24 2010 Dave Anderson <anderson@redhat.com> - 1.0-2
|
|
|
69ce21 |
- Fix for segmentation violation with "trace show -c cpu" command,
|
|
|
69ce21 |
and add "trace dump -t" command.
|
|
|
69ce21 |
Resolves: rbhz#592887
|
|
|
69ce21 |
|
|
|
69ce21 |
* Wed Dec 09 2009 Dave Anderson <anderson@redhat.com> - 1.0-1.2
|
|
|
69ce21 |
- fix Makefile to account for s390 build
|
|
|
69ce21 |
- change exclusive arch entry from i386 to {ix86}
|
|
|
69ce21 |
- Resolves: rbhz#545564
|
|
|
69ce21 |
|
|
|
69ce21 |
* Tue Dec 08 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.0-1.1
|
|
|
69ce21 |
- Rebuilt for RHEL 6
|
|
|
69ce21 |
|
|
|
69ce21 |
* Fri Sep 25 2009 Dave Anderson <anderson@redhat.com>
|
|
|
69ce21 |
- Initial crash-trace-command package
|
|
|
69ce21 |
|