add event and pid,tid,etc.