Project

General

Profile

Feature #5234

libproc could understand Linux core files

Added by Robert Mustacchi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-10-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

There are often times where mdb facilities, such as the mdb v8 plugin, would be useful to apply to other systems. In these cases, we add rudimentary support to libproc for core files generated on Linux, which happens to primarily consist of two obsolete elf note types that we used to use, but no longer use for our own core files. This allows pstack and mdb to get at the basics of the core dump, such as basic process status and registers, but certainly not everything.


Related issues

Related to illumos gate - Bug #5383: 5234 breaks build on sparcClosed2014-12-02

Actions

History

#1

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed

git commit 3c457126d6dda7ae8bfeed1d0f7023b997a97622

commit  3c457126d6dda7ae8bfeed1d0f7023b997a97622
Author: Timothy J Fontaine <tj.fontaine@joyent.com>
Date:   2014-10-29T18:26:44.000Z

    5234 libproc could understand Linux core files
    5235 libproc doesn't correctly handle elf note rounding
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Rafael Vanoni <rafael.vanoni@pluribusnetworks.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF