How to make Oprofile ignore the signal SIGSEGV

"Leo Chen." <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CAOUVHcfesZqPQgWDzOzP8URK7vQWB5Fb9WQxLOPE1VhffrDHqQ@mail.gmail.com>
Hi, all

Normally, my programe use sigaction() to catch the signal SIGSEGV, to do
something about memory reserve/commit (such as mmap()/mprotect() ). The
signal of SIGSEGV is my expected behavior, and it just work fine.

But if I use Oprofile to profile my programe. My programe will abort
immediately and get this error message:
"profiled app killed by signal 11 (SIGSEGV)"

My question is: if I don't change my programe's implementation, how can I
set the Oprofile to ignore the signal SIGSEGV?

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.