Page MenuHomeFreeBSD

LinuxKPI; add the start of tracepoint.h
ClosedPublic

Authored by bz on Feb 9 2022, 12:14 PM.
Tags
None
Referenced Files
F156664258: D34236.id102583.diff
Fri, May 15, 12:51 PM
F156658422: D34236.id102735.diff
Fri, May 15, 11:30 AM
F156608737: D34236.id102566.diff
Fri, May 15, 2:21 AM
F156593151: D34236.id.diff
Thu, May 14, 11:03 PM
Unknown Object (File)
Thu, May 14, 4:09 PM
Unknown Object (File)
Wed, May 13, 7:09 PM
Unknown Object (File)
Wed, May 13, 7:09 PM
Unknown Object (File)
Wed, May 13, 7:09 PM

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.