Changeset a736d81
- Timestamp:
- 05/28/15 12:14:39 (9 years ago)
- Branches:
- master
- Children:
- 14e2ab9
- Parents:
- 69850c8
- git-author:
- Hal Finkel <hfinkel@…> (05/28/15 12:14:39)
- git-committer:
- Hal Finkel <hfinkel@…> (05/28/15 12:14:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
memlog.c
r69850c8 ra736d81 8 8 #include <string.h> 9 9 10 #include <execinfo.h> 10 11 #include <sys/syscall.h> 11 12 #include <sys/time.h> … … 74 75 } 75 76 77 void *pcs[1024]; 78 int num_pcs = backtrace(pcs, 1024); 79 for (int pci = 0; pci < num_pcs; ++pci) { 80 unw_word_t pc = (unw_word_t) pcs[pci]; 81 #if 0 76 82 while ((r = unw_step(&cursor)) > 0) { 77 83 unw_word_t pc; … … 81 87 return; 82 88 } 89 #endif 83 90 84 91 if (!pc)
Note: See TracChangeset
for help on using the changeset viewer.