MEDIUM: applet/trace: Register a new trace source with its events

Traces are now supported for applets. The first argument is always the
appctx. This will help to debug applets.
3 files changed