summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* adapt-makefile-to-debianLouis Bouchard2020-03-02
| | | | | =================================================================== Gbp-Pq: Name 0002-adapt-makefile-to-debian.patch
* [v1.6.7] Update versionKazuhito Hagio2020-01-15
| | | | | | Update makedumpfile to version 1.6.7. Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
* [PATCH] Makefile: remove -lebl from LIBS when no libebl.aPingfan Liu2019-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the following commit, -lebl has been removed from elfutils. (elfutils-0.178 or later contains the commit.) commit b833c731359af12af9f16bcb621b3cdc170eafbc Author: Mark Wielaard <mark@klomp.org> Date: Thu Aug 29 23:34:11 2019 +0200 libebl: Don't install libebl.a, libebl.h and remove backends from spec. All archive members from libebl.a are now in libdw.a. We don't generate separate backend shared libraries anymore. So remove them from the elfutils.spec file. Signed-off-by: Mark Wielaard <mark@klomp.org> Without the patch, building process fails with the following error. /usr/bin/ld: cannot find -lebl collect2: error: ld returned 1 exit status make: *** [makedumpfile] Error 1 So remove it from LIBS for makedumpfile when elfutils does not have libebl.a. Signed-off-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* [v1.6.6] Update versionKazuhito Hagio2019-06-27
| | | | | | Update makedumpfile to version 1.6.6. Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* [PATCH v2] honor the CFLAGS from environment variablesKairui Song2019-01-29
| | | | | | | | | | | | This makes it possible to pass in extra cflags, for example, hardening flags could be passed in with environment variable when building a hardened package. Also introduce a CFLAGS_BASE to hold common CFLAGS, which simplify the CFLAGS definition. Suggested-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com> Signed-off-by: Kairui Song <kasong@redhat.com>
* [v1.6.5] Update versionKazuhito Hagio2018-12-04
| | | | | | This patch updates makedumpfile to version 1.6.5. Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* [PATCH 2/2] Check if clock_gettime() requires -lrtPetr Tesarik2018-07-06
| | | | | | | For glibc versions before 2.17, clock_gettime() was contained in a separate library and required linking with -lrt. Signed-off-by: Petr Tesarik <ptesarik@suse.com>
* [v1.6.4] Update versionMasaki Tachibana2018-07-03
| | | | | | | This patch updates makedumpfile to version 1.6.4. Signed-off-by: Masaki Tachibana <mas-tachibana@vf.jp.nec.com> Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* Add a new helper file 'tools.c' that provides some useful APIsBhupesh Sharma2018-04-03
| | | | | | | | | | | | | | This patch borrows the 'tools.c' helper file from the crash utility project and adds it to the makedumpfile source code, to allow some basic useful APIs to be present which can be invoked from other source code files. 'tools.c' provides some useful APIs like 'htol' (convert a string to a hexadecimal long value), etc. which can be invoked by other functions (a functionality that is exposed by follow-up patches). Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
* [v1.6.3] Update versionAtsushi Kumagai2018-01-26
| | | | | | This patch updates makedumpfile to version 1.6.3. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.6.2] Update versionAtsushi Kumagai2017-07-26
| | | | | | This patch updates makedumpfile to version 1.6.2. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH] Add initial sparc64 supportTom Hromatka2017-05-17
| | | | | | | This commit adds support for sparc64. The changes were tested on a sparc64 T7-2 processor with 2 TB of RAM Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
* [v1.6.1] Update versionAtsushi Kumagai2016-12-27
| | | | | | This patch updates makedumpfile to version 1.6.1. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.6.0] Update versionAtsushi Kumagai2016-06-08
| | | | | | This patch updates makedumpfile to version 1.6.0. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.5.9] Update versionAtsushi Kumagai2015-10-28
| | | | | | This patch updates makedumpfile to version 1.5.9. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH v5 04/10] Add read_pfn_parallel.Qiao Nuohan2015-08-11
| | | | | | | | read_pfn_parallel is used to enable reading pages from vmcore parallely. Current supported format is kdump-compressed and elf, mmap elf format is also supported. Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com>
* [PATCH] Support ARM64.Pratyush Anand2015-05-19
| | | | | | | | | | | Patch adds support for ARM64 in makedumpfile. It takes care of vmalloc, vmemmap, module and directly map kernel memory region's translation. Currently we only support 2 leverl 64K pages and VA_BITS as 42. Support to find these machine specific parameters dynamically and then to act accordingly can be added latter. Signed-off-by: Pratyush Anand <panand@redhat.com>
* [v1.5.8] Update versionAtsushi Kumagai2015-03-24
| | | | | | This patch updates makedumpfile to version 1.5.8. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.5.7] Update versionAtsushi Kumagai2014-09-18
| | | | | | This patch updates makedumpfile to version 1.5.7. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Fix Makefile for eppic_makedumpfile.so build.WANG Chao2014-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | When libeppic isn't installed on a standard location, building eppic_makedumpfile.so with -leppic directly doesn't work. Add LDFLAGS to build arguments, so that one can pass LDFLAGS="-Ldir -Idir" to tell where to search for libeppic library and its header files. For example, if eppic source is installed on the same directory level with makedumpfile as the following: makedumpfile |--- arch +--- eeppic_scripts eppic |--- applications +--- libeppic After compiling libeppic, one can use the following command to build eppic_makedumpfile.so: make LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so Signed-off-by: WANG Chao <chaowang@redhat.com>
* [v1.5.6] Update versionAtsushi Kumagai2014-04-21
| | | | | | This patch updates makedumpfile to version 1.5.6. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Inhibit predefined macros when cross building.Wang Nan2014-04-08
| | | | | | | | | | | | | | | | | | | | | | | | When cross building makedumpfile, for example, build x86_64 exec for dealing with arm vmcore, makefile passes a "-D__arm__" to gcc, but gcc predefined macros still take effect, defines "__x86_64__". Which makes definitions for x86_64 and arm mixed together in makedumpfile.h, causes many problems. This patch changes Makefile: if host arch and target arch are different, passes "-U__$(HOST_ARCH)__" to gcc. I have tested by running following command on x86_64 machine: make TARGET=arm P.S. This patch doesn't work if there is an endian mismatch between host arch and target arch since makedumpfile doesn't take care of it. Signed-off-by: Wang Nan <wangnan0@huawei.com> Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> Cc: kexec@lists.infradead.org Cc: Geng Hui <hui.geng@huawei.com>
* [PATCH v2 3/3] build: Rename generic-sounding SRC -> SRC_BASE.Simon Kagstrom2014-03-11
| | | | | | | | | | This aligns naming with SRC_PART and SRC_ARCH. In our case, we also use SRC as an environment variable in an outer Makefile (which calls the makedumpfile one), which messes things up here. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
* [PATCH v2 2/3] build: Honor VPATH to support out-of-tree builds.Simon Kagstrom2014-03-11
| | | | | | | | | | | Makes it possible to build out-of-tree, with something like cd makedumpfile mkdir out-of-tree-build cd out-of-tree-build make -f ../Makefile Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
* [PATCH v2 1/3] build: Derive objects from source files.Simon Kagstrom2014-03-11
| | | | | | | Removes duplicate information, so there is one less line to edit when renaming or adding files. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
* [PATCH 11/11] eppic: Install sample eppic scripts.Aruna Balakrishnaiah2014-03-10
| | | | | | Install sample eppic scripts in the documentation directory Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
* [v1.5.5] Update versionAtsushi Kumagai2013-12-17
| | | | | | This patch updates makedumpfile to version 1.5.5. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v2] "make install" assumes directories exist.Nick Bartos2013-08-16
| | | | | | | | | | | | | | | | The make install of makedumpfile-1.5.4 uses cp instead of the usual "install" command, which has some side effects of not pre-creating directories. This results in installs to an alternate DESTDIR fail because the parent directories do not exist. I have attached a patch which modifies make install to use the install utility. Signed-off-by: Nick Bartos <nick@pistoncloud.com> Change installation directory to /usr/sbin. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.4] Update versionAtsushi Kumagai2013-07-01
| | | | | | This patch updates makedumpfile to version 1.5.4. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.3] Update versionAtsushi Kumagai2013-02-18
| | | | | | This patch updates makedumpfile to version 1.5.3. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.2] Update versionAtsushi Kumagai2013-02-13
| | | | This patch updates makedumpfile to version 1.5.2.
* [PATCH] keep dumpfile pages in a cache.Petr Tesarik2013-02-06
| | | | | | | | | | | | | | | | | | | Add a simple cache for pages read from the dumpfile. This is a big win if we read consecutive data from one page, e.g. page descriptors, or even page table entries. Note that makedumpfile now always reads a complete page. This was already the case with kdump-compressed and sadump formats, but makedumpfile was throwing most of the data away. For the kdump-compressed case, we may actually save a lot of decompression, too. I tried to keep the cache small to minimize memory footprint, but it should be big enough to hold all pages to do 4-level paging plus some data. This is needed e.g. for vmalloc areas or Xen page frame table data, which are not contiguous in physical memory. Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
* [PATCH v4 1/9] Initialize and setup eppic.Aravinda Prasad2013-02-05
| | | | | | | | | This patch contains routines which initialize eppic and register call back function which will be called whenever a new eppic macro is loaded using eppic_load() API. The registered call back function executes the eppic macro as soon as it is loaded. Signed-off-by: Aravinda Prasad <aravinda@linux.vnet.ibm.com>
* [v1.5.1] Update versionAtsushi Kumagai2012-12-03
| | | | | | This patch updates makedumpfile to version 1.5.1. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH 3/9] Add snappy build support.HATAYAMA Daisuke2012-11-16
| | | | Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
* [v1.5.0] Update versionAtsushi Kumagai2012-09-06
| | | | | | This patch updates makedumpfile to version 1.5.0. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.4] Update versionAtsushi Kumagai2012-05-25
| | | | | | This patch updates makedumpfile to version 1.4.4. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v3 4/4] Add build condition for LZO support.HATAYAMA Daisuke2012-05-11
| | | | | | | | | | | | | | | To enable lzo compression support, build makedumpfile as: $ make USELZO=on To disable, as: $ make In default, lzo compression support is disabled. Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.3] Update versionAtsushi Kumagai2012-02-28
| | | | | | This patch updates makedumpfile to version 1.4.3. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v1 3/3] Add support for PPC32.Suzuki K. Poulose2012-02-13
| | | | | | | Mostly a copy of ppc64 with renaming to _ppc variants. Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v1 2/3][ppc64] Rename the __powerpc__ macro to __powerpc64__ for PPC64.Suzuki K. Poulose2012-02-13
| | | | | | | | | | Makedumpfile uses __powerpc__ as the value of ARCH to control the PPC64 specfic definitions. Rename this to __powerpc64__ for a better readability of the code as the support for ppc32 will be introduced in the later series. We could use __powerpc32__ for PPC32. Signed-off-by: Suzuki Poulose <suzuki@in.ibm.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v1 1/3] Support for cross building.Suzuki K. Poulose2012-02-13
| | | | | | | | | | | Support cross building of makedumpfile. This would be useful for building the makedumpfile for embedded PPC boards. Support for PPC32 would be added in the later patches. Use TARGET variable to set the arch to build for. Also honour the value of CC if set. Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
* [v1.4.2] Update versionAtsushi Kumagai2012-01-24
| | | | | | This patch updates makedumpfile to version 1.4.2. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Add Makefile parameter to use dynamic libraries.Atsushi Kumagai2012-01-24
| | | | | | | | | | | | | | | | | | | Add "LINKTYPE" parameter to use dynamic libraries. If you want to build makedumpfile using dynamic libraries, you need "LINKTYPE=dynamic". $ make LINKTYPE=dynamic ... $ ldd makedumpfile libdw.so.1 => /usr/lib64/libdw.so.1 (0x0000003ca2800000) libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x000000394b200000) libdl.so.2 => /lib64/libdl.so.2 (0x00000031a5a00000) libelf.so.1 => /usr/lib64/libelf.so.1 (0x0000003ca2400000) libz.so.1 => /usr/lib64/libz.so.1 (0x00000031a6200000) libc.so.6 => /lib64/libc.so.6 (0x00000031a5200000) /lib64/ld-linux-x86-64.so.2 (0x00000031a4e00000) Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.1] Update versionAtsushi Kumagai2012-01-05
| | | | | | This patch updates makedumpfile to version 1.4.1. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v2 03/14] Implement command-line processingHATAYAMA Daisuke2011-12-19
| | | | | | | | | Introduce new long option --diskset=VMCORE, which is used for specifying multiple VMCORE(s) generated on sadump diskset configuration. --diskset and --split options can be specified at the same time. Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
* [PATCH v2 01/14] Add sadump module header fileHATAYAMA Daisuke2011-12-19
| | | | | | | | This header contains definitions of sadump-related dump format headers. These datatype is handled in sadump module, introduced later as sadump_info.c, only. Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
* [v1.4.0] Update versionoomichi2011-09-12
| | | | | | This patch updates makedumpfile to version 1.4.0. Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
* [PATCH] Cleanup: Change the section of makedumpfile.conf manpage to right ↵oomichi2011-09-12
| | | | | | | | | | | | | | | | section. Manpages of other configuration files are defined in section 5, and the manpage of makedumpfile.conf also should be defined in the same section. In addtion, `man makedumpfile.conf` output the following warning because the manpage included some invalid charactors(<81>). WARNING: old character encoding and/or character set This patch fixes them. Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
* [PATCH] Cleanup: Add erase_info.c for reducing makedumpfile.cKen'ichi Ohmichi2011-09-07
| | | | | | | makedumpfile.c becomes big and the readability is not good. To reduce the code of makedumpfile.c, this patch adds erase_info.c. Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>