From shahamit@gmail.com Wed Aug 16 04:32:40 2006 Received: with ECARTIS (v1.0.0; list kernprof); Wed, 16 Aug 2006 04:32:51 -0700 (PDT) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k7GBWbDW002141 for ; Wed, 16 Aug 2006 04:32:40 -0700 Received: by nf-out-0910.google.com with SMTP id p46so690727nfa for ; Wed, 16 Aug 2006 04:32:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UkrfjjoEYft5ehtIvxBO5zOz30Xo13uCwSr65U5UywpjrfGSVQ/zJAP76OxBCxF6HZysu30sMCDpUPYDvZKOgJpy+26Qrg5TPTL4Y/QBoKqQFotcfRsd8r9EKTY16wtYZNS1kepE/48iqZ3FaL9X7cMQX/yV37tkSr+Iv4p0Eng= Received: by 10.49.75.2 with SMTP id c2mr522763nfl; Wed, 16 Aug 2006 03:26:33 -0700 (PDT) Received: by 10.78.160.16 with HTTP; Wed, 16 Aug 2006 03:26:33 -0700 (PDT) Message-ID: <877aabc40608160326i7c6dfa0t933a7d577a4ea3d0@mail.gmail.com> Date: Wed, 16 Aug 2006 15:56:33 +0530 From: "Amit Shah" To: kernprof@oss.sgi.com Subject: Kernprof on 2.4.32 - doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-archive-position: 349 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: shahamit@gmail.com Precedence: bulk X-list: kernprof Hello all, I adapted the 0.13 patch for 2.4.20 to 2.4.32. There were some 7-8 rejects, but 3-4 mattered for me (since I have an x86 box). The other rejects were in sparc and mips arch-specific directories. I don't get past the 'Loading vmlinuz...' message. When I try with gcc 2.95.3 with the patch, it doesn't even uncompress the kernel. Hangs before that. With unpatched gcc, the hang happens after uncompressing the kernel. Any idea why this might be so? BTW, I have patched the userspace tools to compile cleanly with ANSI C. I'll post the patch in a separate post. Amit. -- Amit Shah http://amitshah.net/