From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6237 invoked by alias); 28 Aug 2012 01:34:08 -0000 Received: (qmail 6152 invoked by uid 22791); 28 Aug 2012 01:34:07 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Aug 2012 01:33:55 +0000 Received: by dadi14 with SMTP id i14so2893281dad.0 for ; Mon, 27 Aug 2012 18:33:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.227.70 with SMTP id ry6mr38443203pbc.53.1346117634756; Mon, 27 Aug 2012 18:33:54 -0700 (PDT) Received: by 10.66.7.132 with HTTP; Mon, 27 Aug 2012 18:33:54 -0700 (PDT) Date: Tue, 28 Aug 2012 01:34:00 -0000 Message-ID: Subject: one question about uprobe_emulate_insn From: Jovi Zhang To: wade_farnsworth@mentor.com, systemtap@sourceware.org Content-Type: text/plain; charset=UTF-8 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00248.txt.bz2 Hi, I'm sorry to ask this question about how uprobe_emulate_insn works. I know uprobe_emulate_insn is emulate arm instructions in user space, but how can invoke this in kernel space? there have different address space, how to handle some instructions like read user space memory? and how to trap after singlestep execution finished in user space? Might my question is very "stupid" for you :), but I will very appreciate if you can help me to understand it. .jovi