1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
.gitignore Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
event_generator.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pec_listener.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
run_pec_test Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

TEST SUITE:

The directory pec contains the tests related to the process event connector.

Process event connector is a netlink connector that reports process events
to userspace. It sends events such as fork, exec, id change and exit.

There are total 5 testcases.

Note: the test can be run by root only.

TESTS AIM:

The aim of the tests is to test the functionality of process event connector.

FILES DESCRIPTION:

check_connector_enabled.c
------------------
This program is used to check if the kernel supports netlink connector.

event_generator.c
------------------
This program is used to generate a specified process event (fork, exec, uid,
gid or exit).

run_pec_test
------------------
This script runs all the 5 testcases.

pec_listener.c
------------------
This program is used to ilsten to process events received through the kernel
connector and print them.

Makefile
------------------
The usual makefile for this directory

$LTPROOT/output/pec/*.log
------------------
The outputs of event_generator and pec_listeners.

README:
------------------
The one you have gone through.