Then samples are recorded as before, with state=EXTERNAL.  There's a follow-up commit in this PR that adds two functions to the process object that people can use to start/stop the idle notifier.  I'm still debating if we actually need them, though.