From patchwork Thu Jan 3 07:51:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaiwan N Billimoria X-Patchwork-Id: 209192 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id E674E2C008C for ; Thu, 3 Jan 2013 18:52:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C5A9EA0102; Thu, 3 Jan 2013 07:52:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FvgbUJT3kMO7; Thu, 3 Jan 2013 07:52:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 84BB3A00F5; Thu, 3 Jan 2013 07:52:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 00C148F74B for ; Thu, 3 Jan 2013 07:52:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EDDC78B07A for ; Thu, 3 Jan 2013 07:52:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5OGyf7nfh-1J for ; Thu, 3 Jan 2013 07:52:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by whitealder.osuosl.org (Postfix) with ESMTPS id B54488B079 for ; Thu, 3 Jan 2013 07:52:04 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so12466904iad.41 for ; Wed, 02 Jan 2013 23:52:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=whu2GGlqSvLWphZaljnFeKq+fgY6wP+PszO+VypEgsk=; b=C7X29vQdIfBWa/NMPTw1ey6d2lZTKPIdXiV+nTthmOZ1xanp4YKeSjdeTSq02pyOeg 4Nc8U/W+r23km91eSOG8CG56fO7EVMOlF2TLiJVPOj3uHmqogBKJV2TXjBMWnEkXCSQC 7MOv+cf7IgIXuwC0uee2oLH9lD4BC8cxB6GTGparYQ+jDhy36G7nZC8WrrVFA4/xjJwV 8ePFWD/1sFJ95Y64AuvzxZpht8jvxGr7BtNApEfLfKSoS5cgPJCQxVDceBnXaYLWi6Gm UGOYeFqv39zdV6eB6w+2xXOiHajpX0b7vpIvNO71QzzM+5V6YItsOIgE2si1OfefIoyW wh+A== Received: by 10.50.222.231 with SMTP id qp7mr42387123igc.74.1357199524105; Wed, 02 Jan 2013 23:52:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.138.33 with HTTP; Wed, 2 Jan 2013 23:51:44 -0800 (PST) From: Kaiwan Billimoria Date: Thu, 3 Jan 2013 13:21:44 +0530 Message-ID: To: buildroot@busybox.net Subject: [Buildroot] [PATCH 3/3] Add perf tools support: this is the kernel patch to be applied to the kernel for kernel compile to go through; it basically adds a typedef. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Add perf tools support: this is the kernel patch to be applied to the kernel for kernel compile to go through; it basically adds a typedef. Signed-off-by: Kaiwan Billimoria --- linux/perf.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 linux/perf.patch + #ifdef HAVE_CPLUS_DEMANGLE + diff --git a/linux/perf.patch b/linux/perf.patch new file mode 100644 index 0000000..0fba468 --- /dev/null +++ b/linux/perf.patch @@ -0,0 +1,26 @@ +--- linux-3.2.21.orig//tools/perf/util/gelf.h 2013-01-01 16:01:11.736902336 +0530 ++++ linux-3.2.21/tools/perf/util/gelf.h 2013-01-01 16:03:58.076895032 +0530 +@@ -0,0 +1,10 @@ ++#ifndef __GELF_NHDR__ ++#include ++#include ++ ++#if __LIBELF64 ++typedef Elf64_Nhdr GElf_Nhdr; ++#else ++typedef Elf32_Nhdr GElf_Nhdr; ++#endif ++#endif +Index: linux-3.2.21/tools/perf/util/symbol.h +====================================================== +--- linux-3.2.21.orig//tools/perf/util/symbol.h 2013-01-01 16:01:11.836902336 +0530 ++++ linux-3.2.21/tools/perf/util/symbol.h 2013-01-01 16:03:58.176895032 +0530 +@@ -7,6 +7,7 @@ + #include "map.h" + #include + #include ++#include "gelf.h" + #include +