Am 15.01.2013 07:36, schrieb Steph:
> Hello everyone!
> Got strange problem while tracing nginx using callgrind.
>
> I'm running trace with next command:
>
> valgrind --trace-children=yes --tool=callgrind /usr/local/nginx/sbin/nginx
>
> And as result got
>
>
> root@bt:~# ==1975==
> ==1975== Error: can not open cache simulation output file
> `/root/callgrind.out.1975'

Are you allowed to create a file in "/root" ?
Anyway, you should not run valgrind as root.

The file is written into the directory where you start callgrind.

Josef

> ==1958==
> ==1958== Events    : Ir
> ==1958== Collected : 82162617
> ==1958==
> ==1958== I   refs:      82,162,617
>
>
> valgrind version is 3.8.0.
> Nginx (nginx/1.3.7)
>
> I read that this problem should be fixed in 3.5.0 isn't it?
>
> --
> Best wishes, Steph.
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
>
>
>
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to