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
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);
13 BPatch_funcCallExpr printfCall(*(printfFuncs[0]), printfArgs);
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);
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);
28 BPatch_type *sem_type = image->findType("unsigned short");
29 BPatch_variableExpr *semaphore =