On Sun, Oct 17, 2021 at 10:46 PM Dongliang Mu <[email protected]> wrote:
> Hi all, > > I am writing to kindly ask one question: is there any tracing > mechanism in Linux kernel that can trace all the executed instructions > of a user process? Use gdb -p <pid> to attach to the process your interested in The gdb command: display/i $pc shows you the instruction before it executes. display $pc shows the line of code before n or s executes it. > If this user process is run on different > processors, traces of this process on different processors should be > also recorded. > This am not too sure about, someone more knowledgeable will probably let us know ( Valdis ? ) > > Any comment is welcome. > > -- > My best regards to you. > > No System Is Safe! > Dongliang Mu > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >
_______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
