projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929a7ab
)
optimization of pack_event_info
author
Anastasia Lyupa
<a.lyupa@samsung.com>
Thu, 28 Feb 2013 15:17:46 +0000
(19:17 +0400)
committer
Anastasia Lyupa
<a.lyupa@samsung.com>
Thu, 28 Feb 2013 15:20:42 +0000
(19:20 +0400)
remove memset() from pack_task_event_info()
driver/storage.c
patch
|
blob
|
history
diff --git
a/driver/storage.c
b/driver/storage.c
index
5f770ef
..
393eb17
100644
(file)
--- a/
driver/storage.c
+++ b/
driver/storage.c
@@
-1117,10
+1117,6
@@
void pack_task_event_info(struct task_struct *task, probe_id_t probe_id,
struct cond *p_cond;
struct event_tmpl *p_tmpl;
- spin_lock_irqsave(&ec_spinlock, spinlock_flags);
- memset(buf, 0, EVENT_MAX_SIZE);
- spin_unlock_irqrestore(&ec_spinlock, spinlock_flags);
-
do_gettimeofday (&tv);
if (probe_id == KS_PROBE_ID) {