20 lines
398 B
C
20 lines
398 B
C
|
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
|
||
|
//
|
||
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||
|
|
||
|
#ifndef CGROUPSIDENTIFIER_H
|
||
|
#define CGROUPSIDENTIFIER_H
|
||
|
|
||
|
#include "identifier.h"
|
||
|
|
||
|
class CGroupsIdentifier : public Identifier
|
||
|
{
|
||
|
public:
|
||
|
IdentifyRet Identify(pid_t pid) override;
|
||
|
|
||
|
private:
|
||
|
[[nodiscard]] QString parseCGroupsPath(QString path) const noexcept;
|
||
|
};
|
||
|
|
||
|
#endif
|