From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261232AbUH3Us1 (ORCPT ); Mon, 30 Aug 2004 16:48:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261375AbUH3Us1 (ORCPT ); Mon, 30 Aug 2004 16:48:27 -0400 Received: from holomorphy.com ([207.189.100.168]:21175 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S261232AbUH3UsV (ORCPT ); Mon, 30 Aug 2004 16:48:21 -0400 Date: Mon, 30 Aug 2004 13:48:14 -0700 From: William Lee Irwin III To: Paulo Marques Cc: mita akinobu , linux-kernel@vger.kernel.org, Andries Brouwer , Alessandro Rubini Subject: Re: [util-linux] readprofile ignores the last element in /proc/profile Message-ID: <20040830204814.GG5492@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Paulo Marques , mita akinobu , linux-kernel@vger.kernel.org, Andries Brouwer , Alessandro Rubini References: <200408250022.09878.amgta@yacht.ocn.ne.jp> <20040829162252.GG5492@holomorphy.com> <4133718D.60002@grupopie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4133718D.60002@grupopie.com> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org William Lee Irwin III wrote: >> Well, since I couldn't stop vomiting for hours after I looked at the >> code for readprofile(1), here's a reimplementation, with various >> misfeatures removed, included as a MIME attachment. On Mon, Aug 30, 2004 at 07:27:25PM +0100, Paulo Marques wrote: > While you're at it, can readprofile work by reading the symbols from > /proc/kallsyms? > If it can, this could be added to the list of files that it tries to > open, so that it could work even if System.map wasn't available. Well, if it can accept input from a pipe, there's no real need. Since it would need to be sorted, it would probably bloat the utility too much to do it internally by creating redundancy with sort(1). -- wli