Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1fdc848 authored by Yingping Lu's avatar Yingping Lu Committed by Nathan Scott
Browse files

[XFS] Fixing KDB's xrwtrc command, also added the current process id into


the trace.

SGI-PV: 948300
SGI-Modid: xfs-linux-melb:xfs-kern:208069a

Signed-off-by: default avatarYingping Lu <yingping@sgi.com>
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 6cc8fef4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -103,7 +103,7 @@ xfs_page_trace(
		(void *)((unsigned long)delalloc),
		(void *)((unsigned long)delalloc),
		(void *)((unsigned long)unmapped),
		(void *)((unsigned long)unmapped),
		(void *)((unsigned long)unwritten),
		(void *)((unsigned long)unwritten),
		(void *)NULL,
		(void *)((unsigned long)current_pid()),
		(void *)NULL);
		(void *)NULL);
}
}
#else
#else
+2 −2
Original line number Original line Diff line number Diff line
@@ -83,7 +83,7 @@ xfs_rw_enter_trace(
		(void *)((unsigned long)ioflags),
		(void *)((unsigned long)ioflags),
		(void *)((unsigned long)((io->io_new_size >> 32) & 0xffffffff)),
		(void *)((unsigned long)((io->io_new_size >> 32) & 0xffffffff)),
		(void *)((unsigned long)(io->io_new_size & 0xffffffff)),
		(void *)((unsigned long)(io->io_new_size & 0xffffffff)),
		(void *)NULL,
		(void *)((unsigned long)current_pid()),
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
@@ -113,7 +113,7 @@ xfs_inval_cached_trace(
		(void *)((unsigned long)(first & 0xffffffff)),
		(void *)((unsigned long)(first & 0xffffffff)),
		(void *)((unsigned long)((last >> 32) & 0xffffffff)),
		(void *)((unsigned long)((last >> 32) & 0xffffffff)),
		(void *)((unsigned long)(last & 0xffffffff)),
		(void *)((unsigned long)(last & 0xffffffff)),
		(void *)NULL,
		(void *)((unsigned long)current_pid()),
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
+4 −4
Original line number Original line Diff line number Diff line
@@ -1372,10 +1372,10 @@ xfs_itrunc_trace(
		     (void*)(unsigned long)((toss_finish >> 32) & 0xffffffff),
		     (void*)(unsigned long)((toss_finish >> 32) & 0xffffffff),
		     (void*)(unsigned long)(toss_finish & 0xffffffff),
		     (void*)(unsigned long)(toss_finish & 0xffffffff),
		     (void*)(unsigned long)current_cpu(),
		     (void*)(unsigned long)current_cpu(),
		     (void*)0,
		     (void*)(unsigned long)current_pid(),
		     (void*)0,
		     (void*)NULL,
		     (void*)0,
		     (void*)NULL,
		     (void*)0);
		     (void*)NULL);
}
}
#else
#else
#define	xfs_itrunc_trace(tag, ip, flag, new_size, toss_start, toss_finish)
#define	xfs_itrunc_trace(tag, ip, flag, new_size, toss_start, toss_finish)
+1 −1
Original line number Original line Diff line number Diff line
@@ -76,7 +76,7 @@ xfs_iomap_enter_trace(
		(void *)((unsigned long)count),
		(void *)((unsigned long)count),
		(void *)((unsigned long)((io->io_new_size >> 32) & 0xffffffff)),
		(void *)((unsigned long)((io->io_new_size >> 32) & 0xffffffff)),
		(void *)((unsigned long)(io->io_new_size & 0xffffffff)),
		(void *)((unsigned long)(io->io_new_size & 0xffffffff)),
		(void *)NULL,
		(void *)((unsigned long)current_pid()),
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,
		(void *)NULL,