diff options
| author | Shreyas Siravara <sshreyas@fb.com> | 2016-12-13 12:10:08 -0800 |
|---|---|---|
| committer | Shreyas Siravara <sshreyas@fb.com> | 2016-12-16 12:14:59 -0800 |
| commit | ba11f1cb4f4ffa48dd0b3cd72470e14c5efecada (patch) | |
| tree | 4056684f01329b5e9017212b44ff3cd0b27b03cf /tests/basic/gfapi/gfapi-trunc.c | |
| parent | aed85da0b737e3fe0d49b99073ab1b32fdead000 (diff) | |
debug/io-stats: Track path of operations in FOP samples
Summary:
- This diff adds the ability to track paths in our FOP samples.
- It adds a function called `attach_iosstat_to_inode()` which
attaches a special struct containing the filename, to the inode.
- This diff attaches a struct, `ios_local` to each frame, and tracks
paths, locs, fds, and inodes depending on the fop that it is
executing.
- Operations done on this inode can then reference this path.
Signed-off-by: Shreyas Siravara <sshreyas@fb.com>
Change-Id: Ie43b2193f66d8c7f59b5d07293e07d6120e3b20a
Reviewed-on: http://review.gluster.org/16149
Tested-by: Shreyas Siravara <sshreyas@fb.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kevin Vigor <kvigor@fb.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests/basic/gfapi/gfapi-trunc.c')
0 files changed, 0 insertions, 0 deletions
