]> TLD Linux GIT Repositories - packages/systemtap.git/blob - systemtap-dyninst.patch
- rediffed patches
[packages/systemtap.git] / systemtap-dyninst.patch
1 --- systemtap-3.1/stapdyn/dynsdt.cxx.orig       2017-02-17 18:37:01.000000000 +0100
2 +++ systemtap-3.1/stapdyn/dynsdt.cxx    2017-04-11 20:34:37.723802317 +0200
3 @@ -264,7 +264,7 @@
4    if (points.empty())
5      {
6        warnx("couldn't find %s:%s at %#" PRIx64 " -> %#lx",
7 -            p.provider.c_str(), p.name.c_str(), p.pc_offset, address);
8 +            p.provider.c_str(), p.name.c_str(), p.pc_offset, (unsigned long)address);
9        return;
10      }
11  
12 @@ -290,7 +290,7 @@
13    BPatch_funcCallExpr printfCall(*(printfFuncs[0]), printfArgs);
14  
15    warnx("inserting %s:%s at %#" PRIx64 " -> %#lx [%zu]",
16 -        p.provider.c_str(), p.name.c_str(), p.pc_offset, address, points.size());
17 +        p.provider.c_str(), p.name.c_str(), p.pc_offset, (unsigned long)address, points.size());
18    process->insertSnippet(printfCall, points);
19  
20    if (p.sem_offset)
21 @@ -302,7 +302,7 @@
22        else
23          {
24            warnx("incrementing semaphore for %s:%s at %#" PRIx64 " -> %#lx",
25 -                p.provider.c_str(), p.name.c_str(), p.sem_offset, sem_address);
26 +                p.provider.c_str(), p.name.c_str(), p.sem_offset, (unsigned long)sem_address);
27  
28            BPatch_type *sem_type = image->findType("unsigned short");
29            BPatch_variableExpr *semaphore =