⟩ Describe the use of strace command
Strace can be used to check the system calls called by the program. So, this can be used for debugging and benchmarking purposes.
Strace can be used to check the system calls called by the program. So, this can be used for debugging and benchmarking purposes.
Which one of the following directory contains every physical device that has been discovered by the bus types registered with the kernel? a) /sys/devices b) /sys/bus/devices c) /devices d) none of the mentioned
Which type of devices are peripheral devices? a) platform devices b) system devices c) both (a) and (b) d) none of the mentioned
Which one of the following is not a system device? a) CPU b) APIC c) timer d) none of the mentioned
Which one of the following is not a platform specific code? a) x86 BIOS b) EFI on ia64 c) both (a) and (b) d) none of the mentioned
In device driver model bus_type object contains the a) name of the bus type b) set of kobjects of the drivers c) set of kobjects of the devices d) all of the mentioned
The file fs/sysfs/sysfs.h contains the a) internal header files for sysfs b) function definitions shared locally among the sysfs source c) both (a) and (b) d) none of the mentioned
In sysfs.h which one of the following structure represents the directory entries? a) struct sysfs_dirent b) struct sysfs_dir c) struct sysfs d) none of the mentioned
Which one of the following is not true? a) kobjects are included in a hierarchic organisation b) kobjects can have a parent c) kobjects can be included in a kset d) none of the mentioned
The name pointer of the attribute data structure represents the _____ in sysfs. a) directory b) file c) symbolic link d) none of the mentioned
To read/write attribute, which one of the following method is required? a) show b) store c) both (a) and (b) d) none of the mentioned