mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
disable stack traces for page faults
This commit is contained in:
@ -157,11 +157,16 @@ hijacked_nopage (struct vm_area_struct * area,
|
|||||||
|
|
||||||
if (current && current->pid != 0 && disk)
|
if (current && current->pid != 0 && disk)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
generate_stack_trace (current, head);
|
generate_stack_trace (current, head);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* head->pid = current->pid; */
|
memset (head, 0, sizeof (SysprofStackTrace));
|
||||||
/* head->addresses[0] = (void *)address; */
|
|
||||||
/* head->truncated = 0; */
|
head->pid = current->pid;
|
||||||
|
head->addresses[0] = (void *)address;
|
||||||
|
head->truncated = 0;
|
||||||
|
head->n_addresses = 1;
|
||||||
|
|
||||||
if (area->vm_file)
|
if (area->vm_file)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user