projects
/
platform
/
upstream
/
sysprof.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649512d
)
disable stack traces for page faults
author
Søren Sandmann Pedersen
<ssp@src.gnome.org>
Thu, 29 Apr 2004 18:36:23 +0000
(18:36 +0000)
committer
Søren Sandmann Pedersen
<ssp@src.gnome.org>
Thu, 29 Apr 2004 18:36:23 +0000
(18:36 +0000)
sysprof-module.c
patch
|
blob
|
history
diff --git
a/sysprof-module.c
b/sysprof-module.c
index
75e36eb
..
dd32225
100644
(file)
--- a/
sysprof-module.c
+++ b/
sysprof-module.c
@@
-157,11
+157,16
@@
hijacked_nopage (struct vm_area_struct * area,
if (current && current->pid != 0 && disk)
{
+#if 0
generate_stack_trace (current, head);
+#endif
-/* head->pid = current->pid; */
-/* head->addresses[0] = (void *)address; */
-/* head->truncated = 0; */
+ memset (head, 0, sizeof (SysprofStackTrace));
+
+ head->pid = current->pid;
+ head->addresses[0] = (void *)address;
+ head->truncated = 0;
+ head->n_addresses = 1;
if (area->vm_file)
{