From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754083Ab3KECPs (ORCPT ); Mon, 4 Nov 2013 21:15:48 -0500 Received: from lgeamrelo01.lge.com ([156.147.1.125]:55331 "EHLO LGEAMRELO01.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753625Ab3KECPr (ORCPT ); Mon, 4 Nov 2013 21:15:47 -0500 X-AuditID: 9c93017d-b7c6fae00000364c-5a-527854d06cb7 From: Namhyung Kim To: Oleg Nesterov Cc: Steven Rostedt , Namhyung Kim , Masami Hiramatsu , Hyeoncheol Lee , Hemant Kumar , LKML , Srikar Dronamraju , "zhangwei\(Jovi\)" , Arnaldo Carvalho de Melo Subject: Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6) References: <1383029621-7384-1-git-send-email-namhyung@kernel.org> <20131102155458.GA6981@redhat.com> <87ob60366m.fsf@sejong.aot.lge.com> <87fvrc35kj.fsf@sejong.aot.lge.com> <20131104155131.GD4440@redhat.com> <20131104162229.GA8921@redhat.com> Date: Tue, 05 Nov 2013 11:15:44 +0900 In-Reply-To: <20131104162229.GA8921@redhat.com> (Oleg Nesterov's message of "Mon, 4 Nov 2013 17:22:29 +0100") Message-ID: <87mwlj1tm7.fsf@sejong.aot.lge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Nov 2013 17:22:29 +0100, Oleg Nesterov wrote: > On 11/04, Oleg Nesterov wrote: >> >> But in any case, I strongly believe that it doesn't make any sense to >> rely on tu->inode in get_user_vaddr(). > > Hmm. But I forgot about the case when you probe the function in libc > and want to dump the variable in libc... Right. Actually that's what I really wanted. > > So probably I was wrong and this all needs more thinking. Damn. :) > Perhaps we really need to pass @file/offset, but it is not clear what > we can do with bss/anon-mapping. The @file/offset should work with bss since data in bss is accessed via an offset in the program, but still anon-mapping has nothing to do with it. Hmm... Thanks, Namhyung