From mboxrd@z Thu Jan 1 00:00:00 1970 From: pierre-marc.fournier@polymtl.ca (Pierre-Marc Fournier) Date: Tue, 9 Feb 2010 11:42:33 -0500 Subject: [ltt-dev] UST - Problems in recording trace on a current process In-Reply-To: <76cdca01002081748i1efbece0mac01ff1d59782783@mail.gmail.com> References: <19fa8ef31002081349v36a13174m1a031048048fd45c@mail.gmail.com> <76cdca01002081737v6978c1ebgcef9a480686fc1ba@mail.gmail.com> <76cdca01002081748i1efbece0mac01ff1d59782783@mail.gmail.com> Message-ID: <201002091142.33606.pierre-marc.fournier@polymtl.ca> On February 8, 2010 20:48:16 soumyakanti chakraborty wrote: > Hi Pierre > > I am still getting the same errors during the tracing of a particular > process with specific pid's - > > *ustctl[1605/1605]: Error: connect: No such file or directory (in > ustcomm_connect_path() at ../libustcomm/ustcomm.c:452)* > *ustcmd_send_cmd: could not connect to PID 1283* > *error while trying to list markers for PID 1283* > Further thoughts on this. You could see this message also if libust is not linked to the program you are trying to trace. Another case is if your program is registering a handler for SIGUSR1. If not, send us the strace output around the connect() call. pmf