dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* tsacct_kern.h - kernel header for system accounting over taskstats interface
|
|
*
|
|
* Copyright (C) Jay Lan SGI
|
|
*/
|
|
|
|
#ifndef _LINUX_TSACCT_KERN_H
|
|
#define _LINUX_TSACCT_KERN_H
|
|
|
|
#include <linux/taskstats.h>
|
|
|
|
#ifdef CONFIG_TASKSTATS
|
|
extern void bacct_add_tsk(struct user_namespace *user_ns,
|
|
struct pid_namespace *pid_ns,
|
|
struct taskstats *stats, struct task_struct *tsk);
|
|
#else
|
|
static inline void bacct_add_tsk(struct user_namespace *user_ns,
|
|
struct pid_namespace *pid_ns,
|
|
struct taskstats *stats, struct task_struct *tsk)
|
|
{}
|
|
#endif /* CONFIG_TASKSTATS */
|
|
|
|
#ifdef CONFIG_TASK_XACCT
|
|
extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
|
|
extern void acct_update_integrals(struct task_struct *tsk);
|
|
extern void acct_account_cputime(struct task_struct *tsk);
|
|
extern void acct_clear_integrals(struct task_struct *tsk);
|
|
#else
|
|
static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
|
|
{}
|
|
static inline void acct_update_integrals(struct task_struct *tsk)
|
|
{}
|
|
static inline void acct_account_cputime(struct task_struct *tsk)
|
|
{}
|
|
static inline void acct_clear_integrals(struct task_struct *tsk)
|
|
{}
|
|
#endif /* CONFIG_TASK_XACCT */
|
|
|
|
#endif
|
|
|
|
|