Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178681
b: refs/heads/master
c: 4efb529
h: refs/heads/master
i:
  178679: 92d0b96
v: v3
  • Loading branch information
Wenji Huang authored and Ingo Molnar committed Dec 28, 2009
1 parent 313fa2d commit 1c92808
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2ef6661ce62e26a8c0978e521fab646128a144b
refs/heads/master: 4efb5290ae187514bd31af8c2d7755e175245e19
4 changes: 2 additions & 2 deletions trunk/tools/perf/builtin-kmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static void insert_alloc_stat(unsigned long call_site, unsigned long ptr,
if (data && data->ptr == ptr) {
data->hit++;
data->bytes_req += bytes_req;
data->bytes_alloc += bytes_req;
data->bytes_alloc += bytes_alloc;
} else {
data = malloc(sizeof(*data));
if (!data)
Expand Down Expand Up @@ -177,7 +177,7 @@ static void insert_caller_stat(unsigned long call_site,
if (data && data->call_site == call_site) {
data->hit++;
data->bytes_req += bytes_req;
data->bytes_alloc += bytes_req;
data->bytes_alloc += bytes_alloc;
} else {
data = malloc(sizeof(*data));
if (!data)
Expand Down

0 comments on commit 1c92808

Please sign in to comment.