Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-72488

WARNING: liveness analysis unable to parse a specific identifier

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.0
    • systemtap
    • None
    • No
    • Low
    • rhel-sst-pt-perf-debug
    • ssg_platform_tools
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      What were you trying to do that didn't work?

      I'm testing a simple systemtap script but always get the following warning on x86_64:

      [root@dell-r640-037 ~]# stap -gv nfsv3.stp
      Pass 1: parsed user script and 486 library scripts using 138284virt/106384res/13712shr/91952data kb, in 190usr/30sys/245real ms.
      WARNING: liveness analysis unable to parse binary /lib/modules/6.12.0-36.el10.x86_64/kernel/fs/nfs/nfsv3.ko.xz: identifier '$nr_arg' at nfsv3.stp:4:9
       source:         $nr_arg->plus = 1;
                       ^
      Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 140896virt/110976res/15340shr/94564data kb, in 140usr/120sys/403real ms.
      Pass 3: translated to C into "/tmp/stapPQMMBo/stap_007d64b79ecc41e40c7e4c0781422678_1293_src.c" using 149360virt/112104res/15956shr/103028data kb, in 110usr/90sys/210real ms.
      Pass 4: compiled C into "stap_007d64b79ecc41e40c7e4c0781422678_1293.ko" in 49760usr/3600sys/4674real ms.
      Pass 5: starting run.
      ^CPass 5: run completed in 140usr/1250sys/270079real ms.

      The script is like:

      [root@dell-r640-037 ~]# cat nfsv3.stp
      #!/usr/bin/stap -g
      
      probe module("nfsv3").function("nfs3_proc_readdir") {
              $nr_arg->plus = 1;
      }
      [root@dell-r640-037 ~]#

      The systemtap version is:

      [root@dell-r640-037 ~]# rpm -q systemtap
      systemtap-5.2-1.el10.x86_64
      [root@dell-r640-037 ~]# stap --version
      Systemtap translator/driver (version 5.2/0.192/0.191, rpm 5.2-1.el10)
      Copyright (C) 2005-2024 Red Hat, Inc. and others
      This is free software; see the source for copying conditions.
      tested kernel versions: 3.10 ... 6.12-rc
      enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON3 LIBRPM LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE MONITOR_LIBS JSON_C LIBDEBUGINFOD
      [root@dell-r640-037 ~]#

      Please help check if I'm wrongly using the stap tool and whether the warning affect the script's expected function. Thanks!

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

              rhtorsys Frank Eigler
              rhn-support-yoyang Yongcheng Yang
              Frank Eigler Frank Eigler
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: