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)
Fri, Aug 15, 7:50 AM
Unknown Object (File)
Thu, Aug 14, 8:47 PM
Unknown Object (File)
Thu, Aug 14, 8:47 PM
Unknown Object (File)
Tue, Aug 5, 7:21 AM
Unknown Object (File)
Sat, Aug 2, 9:27 PM
Unknown Object (File)
Jul 20 2025, 10:05 AM
Unknown Object (File)
Jul 14 2025, 4:21 PM
Unknown Object (File)
Jun 30 2025, 8:43 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.