You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 rivejä
865 B

3 vuotta sitten
3 vuotta sitten
  1. %% Ignore Msg Hole Name
  2. -define(eTpfHole, '$eTpfHole').
  3. %% 消息截取默认配置项
  4. -define(MaxDepth, 3).
  5. -define(MaxListSize, 32).
  6. -define(MaxMapSize, 32).
  7. -define(MaxTupleSize, 32).
  8. -define(MaxBinSize, 128).
  9. -define(MaxBitSize, ?MaxBinSize * 8).
  10. -define(MaxNestStruct, 6).
  11. %% 类型声明
  12. -export_type([input/0, userInput/0, traceOpts/0, tracerOpts/0]).
  13. -type pattern() :: module() | {app, atom()} | {callback, module(), atom()}.
  14. -type scope() :: {scope, [pid() | port() | all | processes | ports |existing | existing_processes | existing_ports |new | new_processes | new_ports]}.
  15. -type input() :: [pattern() | scope()].
  16. -type userInput() :: pattern() | input().
  17. -type traceOpts() :: #{
  18. mode => trace | profile
  19. , poolId => any()
  20. , poolSize => pos_integer()
  21. , send => boolean()
  22. , running => boolean()
  23. }.
  24. -type tracerOpts() :: #{
  25. port => pos_integer()
  26. }.