X-Git-Url: https://git.tld-linux.org/?p=packages%2Fsystemtap.git;a=blobdiff_plain;f=systemtap-dyninst.patch;fp=systemtap-dyninst.patch;h=5ad0af577715689adf3d44cc3a9b1c4b0639dbb2;hp=0000000000000000000000000000000000000000;hb=78303a129e883b0ab2b32cc58aed781f0a875ab8;hpb=837e6357560e8f7856650e51069835d11953aa08 diff --git a/systemtap-dyninst.patch b/systemtap-dyninst.patch new file mode 100644 index 0000000..5ad0af5 --- /dev/null +++ b/systemtap-dyninst.patch @@ -0,0 +1,29 @@ +--- systemtap-3.1/stapdyn/dynsdt.cxx.orig 2017-02-17 18:37:01.000000000 +0100 ++++ systemtap-3.1/stapdyn/dynsdt.cxx 2017-04-11 20:34:37.723802317 +0200 +@@ -264,7 +264,7 @@ + if (points.empty()) + { + warnx("couldn't find %s:%s at %#" PRIx64 " -> %#lx", +- p.provider.c_str(), p.name.c_str(), p.pc_offset, address); ++ p.provider.c_str(), p.name.c_str(), p.pc_offset, (unsigned long)address); + return; + } + +@@ -290,7 +290,7 @@ + BPatch_funcCallExpr printfCall(*(printfFuncs[0]), printfArgs); + + warnx("inserting %s:%s at %#" PRIx64 " -> %#lx [%zu]", +- p.provider.c_str(), p.name.c_str(), p.pc_offset, address, points.size()); ++ p.provider.c_str(), p.name.c_str(), p.pc_offset, (unsigned long)address, points.size()); + process->insertSnippet(printfCall, points); + + if (p.sem_offset) +@@ -302,7 +302,7 @@ + else + { + warnx("incrementing semaphore for %s:%s at %#" PRIx64 " -> %#lx", +- p.provider.c_str(), p.name.c_str(), p.sem_offset, sem_address); ++ p.provider.c_str(), p.name.c_str(), p.sem_offset, (unsigned long)sem_address); + + BPatch_type *sem_type = image->findType("unsigned short"); + BPatch_variableExpr *semaphore =