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, Nov 26, 9:32 AM
Unknown Object (File)
Wed, Nov 26, 7:37 AM
Unknown Object (File)
Sun, Nov 16, 12:21 PM
Unknown Object (File)
Thu, Nov 6, 7:05 AM
Unknown Object (File)
Mon, Nov 3, 7:45 PM
Unknown Object (File)
Fri, Oct 31, 6:10 AM
Unknown Object (File)
Thu, Oct 30, 8:49 PM
Unknown Object (File)
Wed, Oct 29, 5:54 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44385
Build 41273: arc lint + arc unit

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.