Re: mfentry example

2015-02-16 Thread Andrew Haley
[off-topic for gcc; redirect to gcc-help] On 15/02/15 22:00, Niklaus wrote: > I'm trying to do a live update of a function without killing or > stopping the program. This is a single threaded application which runs > something similar to the below code. Maximum time is spent in the > while(1)

mfentry example

2015-02-15 Thread Niklaus
Hello, I'm trying to do a live update of a function without killing or stopping the program. This is a single threaded application which runs something similar to the below code. Maximum time is spent in the while(1) loop. What i want to do is compile with gcc-4.8 with -pg and -mfentry and then