(ModFunc mf)
| 282 | } |
| 283 | |
| 284 | public synchronized void stopTrace(ModFunc mf) throws Exception { |
| 285 | assert mf.getFuncName() != null : "function name cannot be null"; |
| 286 | |
| 287 | sendRPC("erlyberly", "stop_trace", |
| 288 | list( |
| 289 | OtpUtil.atom(mf.getModuleName()), |
| 290 | OtpUtil.atom(mf.getFuncName()), |
| 291 | new OtpErlangInt(mf.getArity()), |
| 292 | new OtpErlangAtom(mf.isExported()) |
| 293 | )); |
| 294 | receiveRPC(); |
| 295 | } |
| 296 | |
| 297 | private OtpErlangList toTraceTuple(ModFunc mf) { |
| 298 | return list( |
no test coverage detected