Page MenuHomeFreeBSD

LinuxKPI; add the start of tracepoint.h
ClosedPublic

Authored by bz on Feb 9 2022, 12:14 PM.
Tags
None
Referenced Files
F172833124: D34236.id102566.diff
Mon, Sep 21, 9:57 AM
Unknown Object (File)
Fri, Sep 11, 1:26 PM
Unknown Object (File)
Thu, Sep 10, 11:07 AM
Unknown Object (File)
Tue, Sep 8, 4:12 PM
Unknown Object (File)
Tue, Sep 8, 12:11 AM
Unknown Object (File)
Mon, Sep 7, 7:40 AM
Unknown Object (File)
Sun, Sep 6, 7:26 PM
Unknown Object (File)
Sun, Sep 6, 3:33 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 44383
Build 41271: 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
33

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.