new file:   ps_trace.py