From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27956 invoked by alias); 25 Jan 2017 22:44:45 -0000 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 Received: (qmail 27922 invoked by uid 89); 25 Jan 2017 22:44:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=2.9, Adam, embed X-HELO: mail-lf0-f67.google.com Received: from mail-lf0-f67.google.com (HELO mail-lf0-f67.google.com) (209.85.215.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Jan 2017 22:44:34 +0000 Received: by mail-lf0-f67.google.com with SMTP id q89so22346242lfi.1 for ; Wed, 25 Jan 2017 14:44:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=LXmXTh/0xx8xvEAsuYXZMyS8/Y08PCY/yciuafoD2K8=; b=m4s76kAP5VrG13jjx8WhAOT7j+UwSjlErAGQ4DezqtYGkyLHHHDxIflSzxy1yZ0ZvP MQhyj6lSeMMr6hRwMT3B73waLn6pEZOCvp5DR9SJrMMp1N84UVj4D4D4TDFKX2ZlAeYf y3NBFDUyIU1hiHjvvbnLVIUd/aOC6Qa3kTo9VJsl0K024a3uoddWA2Jtx3AZWivYaWkP 13CCY5SvqEhiQ8KAPmazjcJnVm8BitYYiW9faGQSn6xs12mry7KB2SSMJdjII5BskEpK fkCX/Ovrc5pFjuRtvveZ3WiU3arLtx9WjQA2VgiIbqp/vwFe5F8W7crlXIV4cnOdsqJq pMSw== X-Gm-Message-State: AIkVDXJq2Vivd7KTvp6dSEWShTjcYBT3T5UJ+5eAzGANlWR8kEAHGn8tyiJwT5UgGVFzjA== X-Received: by 10.25.33.21 with SMTP id h21mr12359484lfh.114.1485384271874; Wed, 25 Jan 2017 14:44:31 -0800 (PST) Received: from [192.168.2.21] (staticline4507.toya.net.pl. [85.89.169.166]) by smtp.googlemail.com with ESMTPSA id p11sm456809lfd.20.2017.01.25.14.44.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 14:44:30 -0800 (PST) To: systemtap@sourceware.org From: Adam Guderski Subject: Problem with vfs probe on Proxmox kernel Message-ID: <13b0aebd-4bbe-f0ca-bf30-1605da0097f5@gmail.com> Date: Wed, 25 Jan 2017 22:44:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-q1/txt/msg00053.txt.bz2 Hello, I've got problem running sample traceio.stp script (obtained from https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/SystemTap_Beginners_Guide/#traceio2) on Proxmox VE 4.4 system. Proxmox is a Debian-based Linux distro which uses a custom Ubuntu-based kernel. The Proxmox repository does not provide a kernel with debug symbols, so I had to compile it from provided sources - version 4.4.35-2-pve, to be specific. Debian repos (jessie) provide systemtap in version 2.9, which from what I read does not support 4.4 kernels, so I compiled systemtap from sources (from master branch, version 3.1/0.159). With such setup, I'm able to run sample "hello world" stap script and couple of others, but all scripts with vfs probes fail. I attach full verbose (-vvv) output here: http://pastebin.com/DiWMsrtr, but I think the main error can be explained below. What can I do about it? I searched for couple of hours but did not find anything that would help. Best regards, Adam # stap -v traceio2.stp 0xfb00 Pass 1: parsed user script and 119 library scripts using 71608virt/43716res/4464shr/39904data kb, in 140usr/0sys/132real ms. semantic error: while resolving probe point: identifier 'kernel' at /usr/local/share/systemtap/tapset/linux/vfs.stp:987:19 source: probe vfs.write = kernel.function("vfs_write") ^ semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under '/lib/modules/4.4.35-2-pve/build' semantic error: resolution failed in alias expansion builder semantic error: while resolving probe point: identifier 'vfs' at traceio2.stp:14:7 source: probe vfs.write, vfs.read ^ semantic error: no match semantic error: while resolving probe point: identifier 'kernel' at /usr/local/share/systemtap/tapset/linux/vfs.stp:915:18 source: probe vfs.read = kernel.function("vfs_read") ^ semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under '/lib/modules/4.4.35-2-pve/build' semantic error: resolution failed in alias expansion builder semantic error: while resolving probe point: identifier 'vfs' at traceio2.stp:14:18 source: probe vfs.write, vfs.read ^ semantic error: no match Pass 2: analyzed script: 1 probe, 33 functions, 1 embed, 1 global using 72384virt/46080res/6016shr/40680data kb, in 40usr/100sys/146real ms. Pass 2: analysis failed. [man error::pass2]