POSIX_TRACE_SET_FILTER(3P)

πŸ¦‹ POSIX_TRACE_SET_FILTER(3P) πŸ¦‹

okay so bestie, welcome to the POSIX Programmer's Manual ✨ β€” this is the page for POSIX_TRACE_SET_FILTER(3P), and honestly? It's a short one. Like, blink-and-you-miss-it short. But we're gonna give it the full main character treatment anyway because every page deserves it πŸ’…


🌸 PROLOG 🌸

Real talk first, because this part matters:

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so please, for the love of everything, go consult the corresponding Linux manual page for the details on how Linux actually behaves. Or, plot twist, the interface may not be implemented on Linux at all πŸ™ˆ. Either way: check before you ship.

Not me warning you about portability before we've even gotten to the NAME section. That's just who I am πŸ’–

✨ NAME ✨

posix_trace_set_filter β€” set filter of an initialized trace stream (TRACING)


πŸŽ€ SYNOPSIS πŸŽ€

#include <trace.h>

int posix_trace_set_filter(trace_id_t trid,
    const trace_event_set_t *set, int how);

Three arguments, one int coming back at you, and the whole tracing vibe. We love a compact signature 🫢


πŸ’œ DESCRIPTION πŸ’œ

okay so, here's the thing. The description is literally just this:

Refer to posix_trace_get_filter().

That's it. That's the whole description. The POSIX authors said "the explanation lives over there, go look" and honestly? Respect. Efficiency. Slay πŸ’…

So if you want the actual deets on setting a filter on an initialized trace stream, the posix_trace_get_filter() page is your destination. This page is just the doorway, bestie πŸšͺ✨


Legal era. Gotta say it, and I'm saying it exactly:

Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .

Found a typo? Don't come for the original authors, come for the conversion process 😭 the link above is where you report it fr fr.

and that's the whole page, bestie!! πŸ’– short, sweet, and legally airtight. go read posix_trace_get_filter() if you actually need the tea πŸ“

IEEE / The Open Group β€” 2017 β€” POSIX_TRACE_SET_FILTER(3P) 🌈

mwah, bye πŸ‘‹βœ¨

πŸ“¦ where this page comes from