| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* Industrialio buffer test code. |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (c) 2008 Jonathan Cameron |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 7 | | - * the Free Software Foundation. |
|---|
| 8 | 5 | * |
|---|
| 9 | 6 | * This program is primarily intended as an example application. |
|---|
| 10 | 7 | * Reads the current buffer setup from sysfs and starts a short capture |
|---|
| .. | .. |
|---|
| 15 | 12 | * generic_buffer -n <device_name> -t <trigger_name> |
|---|
| 16 | 13 | * If trigger name is not specified the program assumes you want a dataready |
|---|
| 17 | 14 | * trigger associated with the device and goes looking for it. |
|---|
| 18 | | - * |
|---|
| 19 | 15 | */ |
|---|
| 20 | 16 | |
|---|
| 21 | 17 | #include <unistd.h> |
|---|