This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: keytable: add support for BPF based protocols
Author:  Sean Young <s...@mess.org>
Date:    Sun May 20 21:10:47 2018 +0100

We use a modified version of samples/bpf/bpf_load.c from the linux kernel
tree to load elf based BPF protocols and display the BPF program names.

Any global int variables can be overrided from the command line. The
immediate values are patched in the BPF LD instructions.

Write a BPF protocol decoder in C, and compile with:

        clang -O2 -c --target=bpf foo.c

Now you can load the object file like so:

        ir-keytable -p foo.o -v

Any parameters can be specified using -e name=value.

Signed-off-by: Sean Young <s...@mess.org>

 Makefile.am                     |    4 +-
 configure.ac                    |   11 +
 include/linux/bpf.h             | 2669 +++++++++++++++++++++++++++++++++++++++
 utils/keytable/Makefile.am      |    7 +-
 utils/keytable/bpf.c            |  515 ++++++++
 utils/keytable/bpf.h            |  110 ++
 utils/keytable/bpf_load.c       |  455 +++++++
 utils/keytable/bpf_load.h       |   43 +
 utils/keytable/ir-keytable.1.in |   14 +-
 utils/keytable/keytable.c       |  318 ++++-
 v4l-utils.spec.in               |    2 +-
 11 files changed, 4117 insertions(+), 31 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=d6025b0e8c7f57b0f9390f987acc5eed57360d80
<diff discarded since it is too big>

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to