From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 429123858D39 for ; Thu, 10 Mar 2022 19:59:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 429123858D39 Received: by mail-ej1-x631.google.com with SMTP id qt6so14456746ejb.11 for ; Thu, 10 Mar 2022 11:59:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BCE4pY3asNUG66X8gmqlPGZ81X3LhIngt6ft/OTGat4=; b=aWolvminjkStG9IqkM4by6pMl674T1vXhvN3HSPZx75ggL9zuRZolDXflYhYeMs/eg pvBvEVrgh///TfO5vMjLuFlwiPVyoU7QjQVwSCusdsqlb9cQTnKy/VjoYWp+ld90h6Yf Rpdf1PicORkQ+YnEGPwbLXEw6rUqrjPO8lkgETx8i8GeGXX6GNvVq39YbflV9WlfmznI VCKiZOTI285J80Hq6KRW+uhtL0F/IagsNfrBN5E0Uz5+rMDMHifkIKswMnbskTjbyCZC bNDnWjU7UYYp7ecXlXB1jwpxuvtbv8jl34dVLnrO6wGv2J7bprDO4YRLlKw50+dc3+Cw 4Akg== X-Gm-Message-State: AOAM531nx/ej88c4IWhSAi2lHTfQeww1uiVVhSYm11EIz6HMt/EKyKvg 7OlWVX2fWiMKXZzo+BjMAPEX8iN8gxchXbYgps0yfr73kxnTlm3B X-Google-Smtp-Source: ABdhPJye8EMCWQf4S3osagJibaQV+NQZ5O788PTPdUcbuP4Yq+Ixz4N2/Zo7eOYrvYjJ0qEnPU473H222tv/AY+fZO0= X-Received: by 2002:a17:907:2a53:b0:6ce:e4fe:3f92 with SMTP id fe19-20020a1709072a5300b006cee4fe3f92mr5609235ejc.389.1646942354909; Thu, 10 Mar 2022 11:59:14 -0800 (PST) MIME-Version: 1.0 From: Daire Byrne Date: Thu, 10 Mar 2022 19:58:39 +0000 Message-ID: Subject: newer kernel+systemtap & nfs.fop.open To: systemtap@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2022 19:59:17 -0000 Hi, Bit of a newbie question, but I'm trying to port some older code to a newer version of systemtap (4.7pre) and I'm seeing a change in behaviour in the output of this: stap -e 'probe nfs.fop.open { filename = sprintf("%s", d_path(&$filp->f_path)); printf("filename: %s\n", filename)}' On previous versions (RHEL7, stap v4.1), the resulting filename had the full path including the mounted directory path or autompunt path, But on newer version of the kernel and systemtap, it seems like only the file path after the NFS mountpoint is being printed. Is there some other trick now required with the d_path((&$filp->f_path)) to include the NFS mountpoint location and provide the full path? Many thanks, Daire