mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
1cc800e7aa
Enabling tracing via echo 1 > /sys/kernel/debug/tracing/events/cfg802154/enable enables event tracing like iwpan dev wpan0 set pan_id 0xbeef cat /sys/kernel/debug/tracing/trace # tracer: nop # # entries-in-buffer/entries-written: 2/2 #P:1 # # _-----=> irqs-off # / _----=> need-resched # | / _---=> hardirq/softirq # || / _--=> preempt-depth # ||| / delay # TASK-PID CPU# |||| TIMESTAMP FUNCTION # | | | |||| | | iwpan-2663 [000] .... 170.369142: 802154_rdev_set_pan_id: phy0, wpan_dev(1), pan id: 0xbeef iwpan-2663 [000] .... 170.369177: 802154_rdev_return_int: phy0, returned: 0 Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
12 lines
329 B
Makefile
12 lines
329 B
Makefile
obj-$(CONFIG_IEEE802154) += ieee802154.o
|
|
obj-$(CONFIG_IEEE802154_SOCKET) += ieee802154_socket.o
|
|
obj-y += 6lowpan/
|
|
|
|
ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \
|
|
header_ops.o sysfs.o nl802154.o trace.o
|
|
ieee802154_socket-y := socket.o
|
|
|
|
CFLAGS_trace.o := -I$(src)
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|