On Fri, Jun 6, 2014 at 5:33 AM, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote: > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko <mhocko@xxxxxxx> wrote: > >> Mel has a nice systemtap script (attached) to watch for stalls. Maybe >> you can give it a try? > > Is there any special configurations I should enable? > > I get this: > semantic error: unresolved arity-1 global array name, missing global > declaration?: identifier 'name' at /tmp/stapd6pu9A:4:2 > source: name[t]=execname() > ^ > > Pass 2: analysis failed. [man error::pass2] > Number of similar error messages suppressed: 71. > Rerun with -v to see them. > Unexpected exit of STAP script at > /home/felipec/Downloads/watch-dstate-new.pl line 320. Actually I debugged the problem, and it's that the format of the script is DOS, not UNIX. After changing the format the script works. However, it's not returning anything. It's running, but doesn't seem to find any stalls. -- Felipe Contreras -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>