[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: profiling embedded lua
- From: Geoff Leyland <geoff_leyland@...>
- Date: Sat, 8 Oct 2011 06:36:11 +1300
On 8/10/2011, at 2:21 AM, Oskar Forsslund wrote:
> I can now build a dll
> I can run lua -luatrace
> I can require"luatrace" if I assign it to a variable (local luatrace = require"luatrace" for example)
> I get a trace-out.txt file when i run luatrace
>
> BUT
>
> when i then want to analyse it i run the command lua -luatrace.profile trace-out.txt (is this the correct way?)
> and get the following output:
>
> >lua -luatrace.profile trace-out.txt
You want to either:
lua -luatrace my_file.lua
luatrace.profile
(luatrace.profile is a shell script, not a lua script)
or
lua -luatrace.profile my_file.lua
(uatrace/profile.lua is a lua script)
What you're doing is asking lua to run a text file, which doesn't work.
Cheers,
Geoff
- References:
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- RE: profiling embedded lua, Thomas Buergel
- Re: profiling embedded lua, Geoff Leyland
- Re: profiling embedded lua, Sean Conner
- Re: profiling embedded lua, Luiz Henrique de Figueiredo
- Re: profiling embedded lua, Geoff Leyland
- Re: profiling embedded lua, Elias Barrionovo
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Oskar Forsslund