"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lttng-statedump-impl.c" between
lttng-modules-2.13.1.tar.bz2 and lttng-modules-2.13.2.tar.bz2

About: LTTng-modules (Linux Trace Toolkit Next Generation) is a system software package for correlated tracing of the Linux kernel, applications and libraries: This package contains the Linux kernel tracing modules.

lttng-statedump-impl.c  (lttng-modules-2.13.1.tar.bz2):lttng-statedump-impl.c  (lttng-modules-2.13.2.tar.bz2)
skipping to change at line 336 skipping to change at line 336
} }
class_dev_iter_init(&iter, ptr_block_class, NULL, ptr_disk_type); class_dev_iter_init(&iter, ptr_block_class, NULL, ptr_disk_type);
while ((dev = class_dev_iter_next(&iter))) { while ((dev = class_dev_iter_next(&iter))) {
struct gendisk *disk = dev_to_disk(dev); struct gendisk *disk = dev_to_disk(dev);
/* /*
* Don't show empty devices or things that have been * Don't show empty devices or things that have been
* suppressed * suppressed
*/ */
if (get_capacity(disk) == 0 || if (get_capacity(disk) == 0 ||
(disk->flags & GENHD_FL_SUPPRESS_PARTITION_INFO)) (disk->flags & LTTNG_GENHD_FL_HIDDEN))
continue; continue;
ret = lttng_statedump_each_block_device(session, disk); ret = lttng_statedump_each_block_device(session, disk);
} }
class_dev_iter_exit(&iter); class_dev_iter_exit(&iter);
end: end:
return ret; return ret;
} }
#ifdef CONFIG_INET #ifdef CONFIG_INET
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)