From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751045AbdAQNRA (ORCPT ); Tue, 17 Jan 2017 08:17:00 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35457 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbdAQNQ7 (ORCPT ); Tue, 17 Jan 2017 08:16:59 -0500 Subject: Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for detecting reliable stack traces To: Josh Poimboeuf References: <1f8c648ed8b8eb49a75f5a6cacf8b7ca76f44fa9.1458933243.git.jpoimboe@redhat.com> <20160404175437.gjj2ghphzv5foh4j@treble.redhat.com> <570BB1AE.6090502@suse.cz> <20160412155658.uuz5jbtnmw3teaey@treble> <91e1f8fc-1a97-709c-3846-16b9ce694246@suse.cz> <20160613215855.66xvswctxdy2bbrj@treble> <20161201205923.o7trgf637pm5iiw5@treble> Cc: Miroslav Benes , Jiri Kosina , Jessica Yu , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Vojtech Pavlik From: Jiri Slaby Message-ID: <11536111-f702-86e2-6b0e-af3bf6367913@suse.cz> Date: Tue, 17 Jan 2017 14:08:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20161201205923.o7trgf637pm5iiw5@treble> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/01/2016, 09:59 PM, Josh Poimboeuf wrote: > I honestly am planning on picking it back up as soon as I post the > consistency model v3, probably next week. > > Here's its current state, though it ain't pretty: > > https://github.com/jpoimboe/linux/tree/objtool-dwarf FWIW, I had to port the SUSE's in-kernel DWARF unwinder which we drag for a decade or so. It seems to be working correctly on the top of the rewritten 4.9 stack unwinding. It needs a lot of polishing, though. And it does not go beyond a single stack (e.g. from IRQ to process ctx) yet (it never did). https://git.kernel.org/cgit/linux/kernel/git/jirislaby/linux.git/commit/?h=devel&id=b190fa08c9248846e9cf23959f0484215d3ad0e4 Having the working DWARF unwinder, I am moving to DWARF generation for asm in your tool now. thanks, -- js suse labs