POSIX_T..._FILTER(3POSIX)

🌸 posix_trace_set_filter(3POSIX) 🌸

hiii bestie, welcome to the POSIX Programmer's Manual ✨ this lil page lives in section 3POSIX of the POSIX Programmer's Manual and it's all about posix_trace_set_filter β€” setting the filter on an initialized trace stream. short page, big vibes, let's go 🫢


✨ PROLOG ✨

okay so before anything else, the fine print, and it's giving important:

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

translation bestie: this is the POSIX spec version, not necessarily your Linux version. always double-check the Linux man page, and lowkey the interface might not even exist on Linux. no cap. πŸ’€

πŸ’– NAME πŸ’–

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

it does exactly what it says on the tin, and the (TRACING) is the feature group it belongs to, iykyk πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <trace.h>

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

look at that signature, so clean, so iconic πŸ‘‘


🌈 DESCRIPTION 🌈

Refer to posix_trace_get_filter().

that's it. that's the whole description. the lore lives in the sibling page, go read that one, bestie, it's the main character here 🧚


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 .


and that's the whole page, babe 🫢 this one came straight from IEEE/The Open Group, dated 2017, and it's filed under POSIX_T..._FILTER(3POSIX). stay tracing, stay slaying πŸ’œπŸŒΈ