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)
Mon, Dec 9, 1:18 AM
Unknown Object (File)
Wed, Dec 4, 1:20 PM
Unknown Object (File)
Thu, Nov 28, 5:53 AM
Unknown Object (File)
Nov 25 2024, 4:53 AM
Unknown Object (File)
Nov 24 2024, 2:15 AM
Unknown Object (File)
Nov 23 2024, 3:17 AM
Unknown Object (File)
Nov 18 2024, 11:38 AM
Unknown Object (File)
Nov 18 2024, 10:28 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
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.