This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
thanks~ root@hit201:~# uname -a Linux hit201 3.10.1-systemtap #1 SMP Mon Jul 15 21:50:18 HKT 2013 x86_64 x86_64 x86_64 GNU/Linux root@hit201:~# stap -V Systemtap translator/driver (version 2.2/0.155, non-git sources) Copyright (C) 2005-2013 Red Hat, Inc. and others This is free software; see the source for copying conditions. enabled features: TR1_UNORDERED_MAP NLS root@hit201:~# stap -L 'kernel.function("*")' | grep calc_load_account_active kernel.function("calc_load_ account_active@kernel/sched/core.c:2444") $this_rq:struct rq* root@hit201:~# root@hit201:/home/hit201j/depot/kernelorg/linux-3.10.1# cat -n kernel/sched/core.c | sed -n '2444,2456 p' 2444 static void calc_load_account_active(struct rq *this_rq) 2445 { 2446 long delta; 2447 2448 if (time_before(jiffies, this_rq->calc_load_update)) 2449 return; 2450 2451 delta = calc_load_fold_active(this_rq); 2452 if (delta) 2453 atomic_long_add(delta, &calc_load_tasks); 2454 2455 this_rq->calc_load_update += LOAD_FREQ; 2456 } root@hit201:~# stap -e 'probe kernel.function("calc_load_account_active") {exit()}' WARNING: probe kernel.function("calc_load_account_active@kernel/sched/core.c:2444") (address 0xffffffff810cf247) registration error (rc -22) ^Croot@hit201:~# #stap.out is in the attachment of this mail root@hit201:~# stap -vvve 'probe kernel.function("calc_load_account_active") {exit()}' > /tmp/stap.out 2>&1 ^Croot@hit201:~# root@hit201:~# stap -e 'probe kernel.statement("calc_load_account_active@kernel/sched/core.c:2444") {print_backtrace();print("\n");exit()}' WARNING: probe kernel.statement("calc_load_account_active@kernel/sched/core.c:2444") (address 0xffffffff810cf247) registration error (rc -22) ^Croot@hit201:~# root@hit201:~#stap -e 'probe kernel.statement("calc_load_account_active@kernel/sched/core.c:2455") {print_backtrace();print("\n");exit()}' 0xffffffff810cf284 : scheduler_tick+0xb4/0x140 [kernel] 0xffffffff810ac067 : update_process_times+0x67/0x80 [kernel] 0xffffffff810f627e : tick_sched_handle.isra.10+0x2e/0x70 [kernel] 0xffffffff810f640c : tick_sched_timer+0x4c/0x80 [kernel] 0xffffffff810c4029 : __run_hrtimer+0x79/0x1c0 [kernel] 0xffffffff810c494f : hrtimer_interrupt+0xff/0x240 [kernel] 0xffffffff81737b49 : smp_apic_timer_interrupt+0x69/0x99 [kernel] 0xffffffff81736972 : apic_timer_interrupt+0x72/0x80 [kernel]
Attachment:
stap.out
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |