Page MenuHomeFreeBSD

LinuxKPI; add the start of tracepoint.h
ClosedPublic

Authored by bz on Feb 9 2022, 12:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 14, 6:55 PM
Unknown Object (File)
Tue, May 6, 8:39 AM
Unknown Object (File)
Wed, Apr 30, 9:51 PM
Unknown Object (File)
Wed, Apr 30, 8:04 PM
Unknown Object (File)
Wed, Apr 30, 2:53 PM
Unknown Object (File)
Mon, Apr 28, 12:57 PM
Unknown Object (File)
Apr 21 2025, 8:12 AM
Unknown Object (File)
Apr 20 2025, 4:31 AM

Details

Summary

Add a start of tracepoint.h to ease porting drivers making use of this
Linux facility.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Feb 9 2022, 12:14 PM
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/tracepoint.h
34

I would use:

#define	TP_PROTO(...)		__VA_ARGS__

Update to use VA_ARGS which now sees to work as @hselasky suggested.
I probably had messed this up before.

This revision is now accepted and ready to land.Feb 9 2022, 7:10 PM
This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.