linux/drivers/net/wireless
Linus Torvalds d6a326d694 tracing: Remove second argument of __assign_str()
The __assign_str() macro logic of the TRACE_EVENT() macro was optimized so
 that it no longer needs the second argument. The __assign_str() is always
 matched with __string() field that takes a field name and the source for
 that field:
 
   __string(field, source)
 
 The TRACE_EVENT() macro logic will save off the source value and then use
 that value to copy into the ring buffer via the __assign_str(). Before
 commit c1fa617cae ("tracing: Rework __assign_str() and __string() to not
 duplicate getting the string"), the __assign_str() needed the second
 argument which would perform the same logic as the __string() source
 parameter did. Not only would this add overhead, but it was error prone as
 if the __assign_str() source produced something different, it may not have
 allocated enough for the string in the ring buffer (as the __string()
 source was used to determine how much to allocate)
 
 Now that the __assign_str() just uses the same string that was used in
 __string() it no longer needs the source parameter. It can now be removed.
 -----BEGIN PGP SIGNATURE-----
 
 iIkEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCZk9RMBQccm9zdGVkdEBn
 b29kbWlzLm9yZwAKCRAp5XQQmuv6qur+AP9jbSYaGhzZdJ7a3HGA8M4l6JNju8nC
 GcX1JpJT4z1qvgD3RkoNvP87etDAUAqmbVhVWnUHCY/vTqr9uB/gqmG6Ag==
 =Y+6f
 -----END PGP SIGNATURE-----

Merge tag 'trace-assign-str-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing cleanup from Steven Rostedt:
 "Remove second argument of __assign_str()

  The __assign_str() macro logic of the TRACE_EVENT() macro was
  optimized so that it no longer needs the second argument. The
  __assign_str() is always matched with __string() field that takes a
  field name and the source for that field:

    __string(field, source)

  The TRACE_EVENT() macro logic will save off the source value and then
  use that value to copy into the ring buffer via the __assign_str().

  Before commit c1fa617cae ("tracing: Rework __assign_str() and
  __string() to not duplicate getting the string"), the __assign_str()
  needed the second argument which would perform the same logic as the
  __string() source parameter did. Not only would this add overhead, but
  it was error prone as if the __assign_str() source produced something
  different, it may not have allocated enough for the string in the ring
  buffer (as the __string() source was used to determine how much to
  allocate)

  Now that the __assign_str() just uses the same string that was used in
  __string() it no longer needs the source parameter. It can now be
  removed"

* tag 'trace-assign-str-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing/treewide: Remove second parameter of __assign_str()
2024-05-23 12:28:01 -07:00
..
admtek wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
ath tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
atmel wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
broadcom tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
intel tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
intersil wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
marvell MMC core: 2024-05-16 08:56:49 -07:00
mediatek mt76 patches for 6.10 2024-05-03 13:27:45 +03:00
microchip wifi: wilc1000: convert list management to RCU 2024-04-16 18:30:57 +03:00
purelifi wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
quantenna wifi: qtnfmac: Remove generic .ndo_get_stats64 2024-05-02 10:20:04 +03:00
ralink wifi: rt2x00: silence sparse warnings 2024-02-28 13:37:22 +02:00
realtek pci-v6.10-changes 2024-05-21 10:09:28 -07:00
rsi wifi: rsi: sdio: simplify module initialization 2024-04-05 11:59:38 +03:00
silabs wifi: wfx: drop driver owner initialization 2024-04-04 11:09:12 +02:00
st wifi: cw1200: restore endian swapping 2024-03-05 20:54:15 +02:00
ti wifi: wl1251: simplify module initialization 2024-04-05 11:59:38 +03:00
virtual virtio: features, fixes, cleanups 2024-05-23 12:04:36 -07:00
zydas wifi: zd1211rw: silence sparse warnings 2024-02-28 13:37:23 +02:00
Kconfig
Makefile