From: Andreev S.V Date: Mon, 6 Aug 2012 13:23:03 +0000 (+0400) Subject: Initial implementation of sampling approach (Ticket #393) - time-based approach imple... X-Git-Tag: Tizen_SDK_2.3~777^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=facfaf24c5df5e1e5b6c14fe76561bb25f278a45;p=kernel%2Fswap-modules.git Initial implementation of sampling approach (Ticket #393) - time-based approach implemented. In comments - dreams of event-based approach. --- diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index cfc7d25..f0ec423 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -1783,7 +1783,7 @@ int dump_backtrace(probe_id_t probe_id, struct task_struct *task, unsigned long real_sz = 0; char *buf = NULL; - buf = (char *)kmalloc(sz, GFP_KERNEL); + buf = (char *)kmalloc(sz, GFP_ATOMIC); if (buf != NULL) { real_sz = get_stack(task, regs, buf, sz);