Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~ $ . trace
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 0/0 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- pi@raspberrypi:~ $ sudo hwclock -r
- hwclock: Cannot access the Hardware Clock via any known method.
- hwclock: Use the --debug option to see the details of our search for an access method.
- pi@raspberrypi:~ $ . trace > trace.txt
- pi@raspberrypi:~ $ cat trace.txt
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 0/0 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0
- 0xff
- pi@raspberrypi:~ $ . trace > trace.txt
- pi@raspberrypi:~ $ cat trace.txt
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 7/7 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- i2cget-1099 [000] .... 382.564455: smbus_read: i2c-1 a=069 f=0000 c=0 BYTE_DATA
- i2cget-1099 [000] .... 382.564477: i2c_write: i2c-1 #0 a=069 f=0000 l=1 [00]
- i2cget-1099 [000] .... 382.564482: i2c_read: i2c-1 #1 a=069 f=0001 l=1
- i2cget-1099 [000] .... 382.565175: i2c_reply: i2c-1 #1 a=069 f=0001 l=1 [ff]
- i2cget-1099 [000] .... 382.565181: i2c_result: i2c-1 n=2 ret=2
- i2cget-1099 [000] .... 382.565187: smbus_reply: i2c-1 a=069 f=0000 c=0 BYTE_DATA l=1 [ff]
- i2cget-1099 [000] .... 382.565192: smbus_result: i2c-1 a=069 f=0000 c=0 BYTE_DATA rd res=0
- pi@raspberrypi:~ $ lsmod
- Module Size Used by
- bnep 12051 2
- bluetooth 365511 5 bnep
- cfg80211 542899 0
- rfkill 20851 3 bluetooth,cfg80211
- rtc_ds1307 13908 0
- hwmon 10552 1 rtc_ds1307
- evdev 12423 6
- snd_bcm2835 24427 1
- snd_pcm 97226 1 snd_bcm2835
- snd_timer 23840 1 snd_pcm
- snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
- i2c_bcm2835 7081 0
- bcm2835_gpiomem 3940 2
- lirc_rpi 9032 0
- lirc_dev 10583 1 lirc_rpi
- uio_pdrv_genirq 3923 0
- rc_core 24213 1 lirc_dev
- uio 10204 1 uio_pdrv_genirq
- fixed 3285 0
- i2c_dev 6913 0
- fuse 99501 3
- ipv6 406215 54
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement