Hello,
 
Do you know what's the order that the tools consume memory/sources?
I only know that memcheck is the most(12---18times).
Does "valgrind --tool=none  date " mean running date command on coregrind  
without other tools?
 
I use valgrind to test date command on arm ,
tools: none,lackey,callgrind,cachegrind is OK;
 
tools: memcheck,drd,massif,helgrind is not OK;
---they could run date command, but will display fault as below:
memcheck-arm-li: unhandled page fault (11) at 0xbdbc3ffc, code 0x817
pgd = c718C000
[bdf8cffc] *pgd=97786031, *pte=00000000, *ppte=00000000
 
Pid: 730, comm:  memcheck-arm-li
CPU:0
PC is at 0x62584ffc
LR is at 0xbdf8cffc
pc : [<62584ffc>] lr : [<bdf8cffc>] Tainted: P
sp : 62555e98  ip : 00000000  fp : bdf8cffc
r10: bdf8d1c4  r9 : bdf8d008  r8 : 389f9f30
r7 : 00000000  r6 : bdf8d1c0  r5 : 00000000  r4 : 380b5f88
r3 : bdf8d080  r2 : 6244c000  r1 : 00000055  r0 : bdf8cffc
Flags: nZCv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: C5387F
Table: 9718C008 DAC: 00000015
[<c002520c>] (show_regs+0x0/0x50) from [<cooebed4>] (__do_user_fault+0x5c/0xa4)
r4 = C1BB5D60
[<c002be78>] (__do_user_fault+0x0/0xa4) from [<c002c094>] 
(do_page_fault+0xfc/0x240)
r7 = C1BB5D60  r6 = C06E1094  r5 = C04EC4F0  r4 = C06E1060
[<c002bf98>] (do_page_fault+0x0/0x240) from [<c002c344>] 
(do_DataAbort+0x3c/0xa0)
[<c0077274>] (do_DataAbort+0x0/0xa0) from [<c0023be0>] 
(ret_from_exception+0x0/0x10)
r8 = 389F9F30  r7 = 00000000  r6 = BDF8D1C0  r5 = 00000000
r4 = FFFFFFFF
InitFrame get next state memcheck-arm-li; PID=730; state=11; Sec=285
 
I don't know why it occured unhandled page fault.
 
Thank you!
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to