This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/21241] New: build systemtap module fail for uprobe for target aarch64-android


https://sourceware.org/bugzilla/show_bug.cgi?id=21241

            Bug ID: 21241
           Summary: build systemtap module fail for uprobe for target
                    aarch64-android
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: uprobes
          Assignee: systemtap at sourceware dot org
          Reporter: ray.zheng at oceanwing dot com
  Target Milestone: ---

Hi,expert

I have a problem in uprobe.

my systemtap version is  (version 3.2/0.168, commit release-3.1-7-ged948abe57a1
+ changes)

my android kernel version is 3.18.24

I use the follow command to build the systemtap module for arm64-android.

sudo systemtap-ubuntu/bin/stap -g -vvvvvvvvvvvvvvv -a arm64 -B    
CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- -r
~/work/project/platform/out/target/product/{product}/obj/KERNEL_OBJ/  -m
myprocess.ko msyprocess_call.stp.back

the context of msyprocess_call.stp.back show below

probe process("*").function("*") {
print_usyms(ubacktrace())
}

and the build is failed,and show the below log

derive-probes process("*").function("*")
semantic error: resolution failed in DWARF builder
   thrown from: elaborate.cxx:1092
semantic error: while resolving probe point: identifier 'process' at
msyprocess_call.stp.back:1:7
   thrown from: elaborate.cxx:1080
        source: probe process("*").function("*") {
                      ^

semantic error: no match
   thrown from: elaborate.cxx:1043
Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using
72536virt/46476res/5484shr/41528data kb, in 0usr/0sys/3real ms.
Pass 2: analysis failed.  [man error::pass2]


I don't know what I can do to resolve this problem, can you give me a help?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]