Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933810Ab0FEXlg (ORCPT ); Sat, 5 Jun 2010 19:41:36 -0400 Received: from mail-pz0-f185.google.com ([209.85.222.185]:58950 "EHLO mail-pz0-f185.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933713Ab0FEXle (ORCPT ); Sat, 5 Jun 2010 19:41:34 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=m96F/iKfOm95t3R7lv++AZVKhmOKAq+chZE/OGTz2pGrLS8kEf4imxPhkClqWsPKbF yOtiVo1J4ZC/gsIaUzxdAlkaVQh6qX+4zDQBeeR/Cu8L9SapKExE7ZnV5ZUIGpH2fur4 ZbULQRBqCo2HW2NhWz/wSOJIUMYOdYH1vWLY0= MIME-Version: 1.0 Date: Sun, 6 Jun 2010 07:41:34 +0800 Message-ID: Subject: [Q] Perf-events callchain support on MIPS From: Deng-Cheng Zhu To: mingo@elte.hu, peterz@infradead.org Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 21 Hi, Peter and Ingo For MIPS, recording user stack backtrace in the kernel is not quite as easy as on other platforms. Because In the kernel, we don't have frame unwinder to work on the user stack. Given the different possible compiler flags, getting the backtrace for the user stack is especially challenging. So, is it still useful to implement the Perf-events callchain support on MIPS with only kernel addresses recorded for now? What impact do you see to do so? Only that the user can not see user-level performance bottleneck? Thanks! Deng-Cheng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/