Blame SPECS/crash-trace-command.spec

76adc4
#
76adc4
# crash core analysis suite
76adc4
#
76adc4
Summary: Trace extension module for the crash utility
76adc4
Name: crash-trace-command
76adc4
Version: 2.0
76adc4
Release: 14%{?dist}
76adc4
License: GPLv2
76adc4
Group: Development/Debuggers
76adc4
Source: %{name}-%{version}.tar.gz
76adc4
URL: http://people.redhat.com/anderson/extensions/%{name}-%{version}.tar.gz
76adc4
# Vendor: Fujitsu Limited
76adc4
# Packager: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
76adc4
ExclusiveOS: Linux
76adc4
ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x aarch64 ppc64le
76adc4
Buildroot: %{_tmppath}/%{name}-root
76adc4
BuildRequires: zlib-devel lzo-devel snappy-devel
76adc4
BuildRequires: crash-devel >= 7.2.0-2
76adc4
Requires: trace-cmd
76adc4
Requires: crash >= 7.2.0-2
76adc4
Patch0: trace_compiler_warnings.patch
76adc4
Patch1: replace_obsolete_init_and_fini.patch
76adc4
Patch2: sigsegv_on_calloc_failure.patch
76adc4
Patch3: initialize_trace_dat.patch
76adc4
Patch4: ARM64.patch
76adc4
Patch5: linux_3.10_support.patch
76adc4
Patch6: ppc64le.patch
76adc4
Patch7: linux_4.2_support.patch
76adc4
Patch8: TRACE_EVENT_FL_TRACEPOINT_flag.patch
76adc4
Patch9: big_endian_nr_pages.patch
76adc4
Patch10: ppc64_ring_buffer_read.patch
76adc4
Patch11: ftrace_event_call_rh_data.patch
76adc4
76adc4
%description
76adc4
Command for reading ftrace data from a dumpfile.
76adc4
76adc4
%prep
76adc4
%setup -q -n %{name}-%{version}
76adc4
%patch0 -p1 -b trace_compiler_warnings.patch
76adc4
%patch1 -p1 -b replace_obsolete_init_and_fini.patch
76adc4
%patch2 -p1 -b sigsegv_on_calloc_failure.patch
76adc4
%patch3 -p1 -b initialize_trace_dat.patch
76adc4
%patch4 -p1 -b ARM64.patch
76adc4
%patch5 -p1 -b linux_3.10_support.patch
76adc4
%patch6 -p1 -b ppc64le.patch
76adc4
%patch7 -p1 -b linux_4.2_support.patch
76adc4
%patch8 -p1 -b TRACE_EVENT_FL_TRACEPOINT_flag.patch
76adc4
%patch9 -p1 -b big_endian_nr_pages.patch
76adc4
%patch10 -p1 -b ppc64_ring_buffer_read.patch
76adc4
%patch11 -p1 -b ftrace_event_call_rh_data.patch
76adc4
76adc4
%build
76adc4
make
76adc4
76adc4
%install
76adc4
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
76adc4
cp %{_builddir}/%{name}-%{version}/trace.so %{buildroot}%{_libdir}/crash/extensions/
76adc4
76adc4
%clean
76adc4
rm -rf %{buildroot}
76adc4
76adc4
%files
76adc4
%defattr(-,root,root)
76adc4
%{_libdir}/crash/extensions/trace.so
76adc4
%doc COPYING
76adc4
76adc4
%changelog
76adc4
* Mon Aug 20 2018 Dave Anderson <anderson@redhat.com> - 2.0-14
76adc4
- Fix for ftrace_event_call data structure change
76adc4
  Resolves: rhbz#1596549
76adc4
76adc4
* Wed Dec  6 2017 Dave Anderson <anderson@redhat.com> - 2.0.13
76adc4
- Build requires crash-devel-7.2.0-2 and usage requires crash-7.2.0-2
76adc4
  because of load_module structure change.
76adc4
  Resolves: rhbz#1520825
76adc4
76adc4
* Sun Apr 16 2017 Dave Anderson <anderson@redhat.com> - 2.0.12
76adc4
- Differentiate ppc64 .ring_buffer_read text symbol from ring_buffer_read data symbol
76adc4
- Fix for ring_buffer_per_cpu.nr_pages size change on big-endian systems 
76adc4
- Fix for Linux 4.7 change to the TRACE_EVENT_FL_TRACEPOINT flag
76adc4
  Resolves: rhbz#1441914
76adc4
  Resolves: rhbz#1440726
76adc4
76adc4
* Thu Feb 25 2016 Dave Anderson <anderson@redhat.com> - 2.0-10
76adc4
- Fix for ftrace symbol name changes in Linux 4.2 
76adc4
  Resolves: rhbz#1265553
76adc4
76adc4
* Tue Sep 02 2014 Dave Anderson <anderson@redhat.com> - 2.0-9
76adc4
- Add ppc64le support.
76adc4
  Resolves: rhbz#1123995
76adc4
76adc4
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.0-8
76adc4
- Mass rebuild 2014-01-24
76adc4
76adc4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0-7
76adc4
- Mass rebuild 2013-12-27
76adc4
76adc4
* Thu Dec  5 2013 Dave Anderson <anderson@redhat.com> - 2.0-6
76adc4
- Add Linux 3.10 support.
76adc4
  Resolves: rhbz#863833
76adc4
76adc4
* Tue Nov 12 2013 Dave Anderson <anderson@redhat.com> - 2.0-5
76adc4
- Add ARM64 support.
76adc4
  Resolves: rhbz#1028580
76adc4
76adc4
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 2.0-4
76adc4
- crash utility has added LZO and snappy compression in addition to zlib
76adc4
76adc4
* Wed May 29 2013 Dave Anderson <anderson@redhat.com> - 2.0-3
76adc4
- Replace obsolete _init() and _fini() functions.
76adc4
- Fix possible segmentation violation on calloc() failure.
76adc4
- Initialize trace_dat to avoid compiler warning.
76adc4
76adc4
* Mon Nov 26 2012 Dave Anderson <anderson@redhat.com> - 2.0-2
76adc4
- trace-cmd package required
76adc4
- rpmlint cleanups to this file 
76adc4
- fix compiler warnings for trace.c
76adc4
76adc4
* Wed Nov  21 2012 Qiao Nuohan <qiaonuohan@cn.fujitsu.com> - 2.0-1
76adc4
- update code
76adc4
  Resolves: rhbz#863833
76adc4
76adc4
* Wed Feb  8 2012 Dave Anderson <anderson@redhat.com> - 1.0-4
76adc4
- Build with RPM_OPT_FLAGS.
76adc4
  Resolves: rhbz#729018
76adc4
76adc4
* Wed Jun  9 2010 Dave Anderson <anderson@redhat.com> - 1.0-3
76adc4
- Remove trace_dump.patch, which requires a kernel later than
76adc4
  the RHEL6 base of 2.6.32.
76adc4
  Resolves: rbhz#601536
76adc4
76adc4
* Mon May 24 2010 Dave Anderson <anderson@redhat.com> - 1.0-2
76adc4
- Fix for segmentation violation with "trace show -c cpu" command,
76adc4
  and add "trace dump -t" command.
76adc4
  Resolves: rbhz#592887
76adc4
76adc4
* Wed Dec 09 2009 Dave Anderson <anderson@redhat.com> - 1.0-1.2
76adc4
- fix Makefile to account for s390 build
76adc4
- change exclusive arch entry from i386 to {ix86}
76adc4
- Resolves: rbhz#545564
76adc4
76adc4
* Tue Dec 08 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.0-1.1
76adc4
- Rebuilt for RHEL 6
76adc4
76adc4
* Fri Sep 25 2009  Dave Anderson <anderson@redhat.com>
76adc4
- Initial crash-trace-command package
76adc4