From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0040.outbound.protection.outlook.com [104.47.1.40]) by dpdk.org (Postfix) with ESMTP id 07A46C64C for ; Fri, 24 Jun 2016 10:10:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fSFTwE4MbgEtppgwQplYNTpBloYEx/2u3wjjjw5vdAg=; b=QpIk8qoOQACwoX9i72uoOT3mr86Nr9rNmEIHnQZkP+woJKE8ajvak+b+Z/qHMivOij8WPrCsxfasbU9xbDZEfGBJyN3szEoVS6JTOZcmOoqms/XWkDlrWJLIaHP9PcwAwCQr5QjU16bP2Re6/JD58q+7CH0EaU/0AEZ+qB50N64= Received: from DB5PR04MB1302.eurprd04.prod.outlook.com (10.162.156.156) by DB5PR04MB1302.eurprd04.prod.outlook.com (10.162.156.156) with Microsoft SMTP Server (TLS) id 15.1.523.12; Fri, 24 Jun 2016 08:10:01 +0000 Received: from DB5PR04MB1302.eurprd04.prod.outlook.com ([10.162.156.156]) by DB5PR04MB1302.eurprd04.prod.outlook.com ([10.162.156.156]) with mapi id 15.01.0523.019; Fri, 24 Jun 2016 08:10:01 +0000 From: Catalin Vasile To: "dev@dpdk.org" Thread-Topic: backtracing from within the code Thread-Index: AQHRze/LR30tfteT7kCt+NqkdjD4Rw== Date: Fri, 24 Jun 2016 08:10:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=cata.vasile@nxp.com; x-originating-ip: [132.245.56.101] x-ms-office365-filtering-correlation-id: 15960e91-4164-4c31-6189-08d39c06f0a8 x-microsoft-exchange-diagnostics: 1; DB5PR04MB1302; 6:B4WToKJcM04Dh/8+Do6Wi41HVMVv6/41LrP6QoqjojZDg01HSuXgXW7PzAd8mDTelAMqQl1yaIETN98IBaxQUssuG14MAZGctXopNHKOvLlI3LEIqrg+afQk18PPK06/sN4llQy3Ns2QHHeTsTw3UHd73alEqZQ1sygmHTj6mQNpvYrmq3ELobHd4IdjmLPFRw+vyD7gVrbhbq+KfCuXT5kaeiXlzpTwVNJ6Wm8UztnXO7+8GVdtHC0rAC2Q/myyS0tUIv8V1xMSm9YARh+h/D5xu+MQ9ue9Scwy2kJnXRMVsCKaLF8Qs6gnr9RTMEL77m7ptMeQrqjNOkmDmKQI6IXElDVl0ymDTpNs5UftW88=; 5:GouYdlY/W2aWKEoPdSYkmF22bkmPVqj2XP9HoGutbkXicMJ9QorbnRR6IKCDd/A7yilO5vAhiKJh8hHImkCuv3QnJuOW9KPp90A0FFEHTt2lS51ANYNzSoGKg/2U8oLrMURukaWA8LsnHlmvPKdIMg==; 24:FXqY9iLejwP+tRaur0eUKkYqOHPP9M2SheFgybyor+7uC1BKTjHSzLpCD5oPyki0QEQfELubC5L7mAqwy74r1C/6ggAm0hy7YDFGCrISCmo=; 7:w4WWxUzHScGLP21gLCQyxzhbOcKz96afu5frurG+PmDwn2EuQ2dUA0W0QHsbg1rEk3rwOW5OPBorGZz/0fjCjACKKiwuGLKaorm6hmD99HhX0imKKcM62nYap4uTe2VedcuLzjiBufOHtlz43V1ya3Q+JU8fAvJFd0B/0NhTtRdjvc1eb44qlKPqCvVsmTJy1DJyOzu3Ud0SAIs6vMviTv0saa1m+Yqc11h5+hFEJ5+54Sff2mMs6q0sZ2Jw528WIuwOi7Zgm496DqpHqkyu7A== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1302; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(250305191791016)(22074186197030); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:DB5PR04MB1302; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1302; x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(199003)(586003)(450100001)(97736004)(5640700001)(54356999)(2351001)(50986999)(229853001)(2501003)(7846002)(106356001)(102836003)(2900100001)(6116002)(2906002)(3846002)(92566002)(33656002)(8936002)(19580395003)(15975445007)(5002640100001)(74316001)(66066001)(77096005)(10400500002)(81156014)(1730700003)(86362001)(106116001)(9686002)(105586002)(3660700001)(122556002)(189998001)(110136002)(68736007)(87936001)(3280700002)(76576001)(11100500001)(7736002)(7696003)(5003600100003)(101416001)(305945005)(81166006)(8676002)(107886002)(554374003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1302; H:DB5PR04MB1302.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2016 08:10:00.9514 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1302 Subject: [dpdk-dev] backtracing from within the code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 08:10:02 -0000 Hi, I'm trying to add a feature to=A0DPDK and I'm having a hard time printing a= backtrace. I tried using this[1] functions for printing, but it does not print more th= an one function. Maybe it lacks the symbols it needs. I tried compiling with "-rdynamic", but it breaks the compilation with an e= rror of "bad -rpath option". Can some help me out? Catalin Vasile [1]=A0https://www.gnu.org/software/libc/manual/html_node/Backtraces.html