Project

General

Profile

Bug #3659 ยป raidz.d

Max Bruning, 2013-03-26 08:31 PM

 
1
#!/usr/sbin/dtrace -qs
2

    
3
vdev_raidz_map_alloc:entry
4
{
5
	self->n = 0;
6
}
7
vdev_raidz_map_alloc:return
8
/self->n == 0/
9
{
10
	self->rzm = (raidz_map_t *)arg1;
11
	self->cols = self->rzm->rm_cols;
12
	printf("cols = %d, firstdatacol = %d\n", self->rzm->rm_cols, self->rzm->rm_firstdatacol);
13
	self->col = &self->rzm->rm_col[0];
14
	printf("%d:%lx:%lx\n", self->col->rc_devidx, self->col->rc_offset, self->col->rc_size);
15
	self->cols--;
16
	self->n++;
17
}
18

    
19
vdev_raidz_map_alloc:return
20
/self->cols/
21
{
22
	self->col = &self->rzm->rm_col[self->n];
23
	printf("%d:%lx:%lx\n", self->col->rc_devidx, self->col->rc_offset, self->col->rc_size);
24
	self->cols--;
25
	self->n++;
26
}
27

    
28
vdev_raidz_map_alloc:return
29
/self->cols/
30
{
31
	self->col = &self->rzm->rm_col[self->n];
32
	printf("%d:%lx:%lx\n", self->col->rc_devidx, self->col->rc_offset, self->col->rc_size);
33
	self->cols--;
34
	self->n++;
35
}
36

    
37
vdev_raidz_map_alloc:return
38
/self->cols/
39
{
40
	self->col = &self->rzm->rm_col[self->n];
41
	printf("%d:%lx:%lx\n", self->col->rc_devidx, self->col->rc_offset, self->col->rc_size);
42
	self->cols--;
43
	self->n++;
44
}
45

    
46

    
47
vdev_raidz_map_alloc:return
48
/self->cols/
49
{
50
	self->col = &self->rzm->rm_col[self->n];
51
	printf("%d:%lx:%lx\n", self->col->rc_devidx, self->col->rc_offset, self->col->rc_size);
52
	self->cols--;
53
}
54

    
    (1-1/1)