Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177828
b: refs/heads/master
c: fefdd33
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas committed Oct 28, 2009
1 parent 3b988b0 commit f7ba4a0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0587da40be78d3704a48d3e9a619183891727f5f
refs/heads/master: fefdd336b2a2f7617e0c8a0777c731d9ed6454ae
6 changes: 4 additions & 2 deletions trunk/mm/kmemleak.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,13 @@ static void print_unreferenced(struct seq_file *seq,
struct kmemleak_object *object)
{
int i;
unsigned int msecs_age = jiffies_to_msecs(jiffies - object->jiffies);

seq_printf(seq, "unreferenced object 0x%08lx (size %zu):\n",
object->pointer, object->size);
seq_printf(seq, " comm \"%s\", pid %d, jiffies %lu\n",
object->comm, object->pid, object->jiffies);
seq_printf(seq, " comm \"%s\", pid %d, jiffies %lu (age %d.%03ds)\n",
object->comm, object->pid, object->jiffies,
msecs_age / 1000, msecs_age % 1000);
hex_dump_object(seq, object);
seq_printf(seq, " backtrace:\n");

Expand Down

0 comments on commit f7ba4a0

Please sign in to comment.