...
 
Commits (2)
......@@ -18,13 +18,16 @@
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.619623864.331483732" name="/" resourcePath="">
<toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.base.725780714" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="" id="cdt.managedbuild.target.gnu.platform.base.244808116" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.base.387236774" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<builder arguments="apps-astreamer" command="${workspace_loc:/elphel-apps-astreamer/scripts/run_bitbake.sh}" enableCleanBuild="false" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.base.387236774" incrementalBuildTarget="-c compile -f" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.53625033" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1099249527" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<option id="gnu.cpp.compiler.option.include.paths.1996306316" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-astreamer/sysroots/elphel393/usr/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-astreamer/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="gnu.cpp.compiler.option.preprocessor.def.1034629455" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
<listOptionValue builtIn="false" value="__arm__=1"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.240091707" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.base.1474386000" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
......@@ -32,6 +35,9 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-astreamer/sysroots/elphel393/usr/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-astreamer/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="gnu.c.compiler.option.preprocessor.def.symbols.323637617" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="__arm__=1"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.2133723416" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.379892904" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
......@@ -46,6 +52,10 @@
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src"/>
<entry excluding="usr/include-uapi/asm-generic/auxvec.h|usr/include-uapi/asm-generic/fcntl.h|usr/include-uapi/asm-generic/int-l64.h|usr/include-uapi/asm-generic/ipcbuf.h|usr/include-uapi/asm-generic/kvm_para.h|usr/include-uapi/asm-generic/mman-common.h|usr/include-uapi/asm-generic/mman.h|usr/include-uapi/asm-generic/msgbuf.h|usr/include-uapi/asm-generic/param.h|usr/include-uapi/asm-generic/poll.h|usr/include-uapi/asm-generic/resource.h|usr/include-uapi/asm-generic/sembuf.h|usr/include-uapi/asm-generic/setup.h|usr/include-uapi/asm-generic/shmbuf.h|usr/include-uapi/asm-generic/shmparam.h|usr/include-uapi/asm-generic/siginfo.h|usr/include-uapi/asm-generic/signal-defs.h|usr/include-uapi/asm-generic/signal.h|usr/include-uapi/asm-generic/stat.h|usr/include-uapi/asm-generic/statfs.h|usr/include-uapi/asm-generic/swab.h|usr/include-uapi/asm-generic/termbits.h|usr/include-uapi/asm-generic/termios.h|usr/include-uapi/asm-generic/types.h|usr/include-uapi/asm-generic/ucontext.h|usr/include-uapi/asm-generic/unistd.h|usr/include-uapi/asm/auxvec.h|usr/include-uapi/asm/byteorder.h|usr/include-uapi/asm/fcntl.h|usr/include-uapi/asm/hwcap.h|usr/include-uapi/asm/ipcbuf.h|usr/include-uapi/asm/kvm.h|usr/include-uapi/asm/kvm_para.h|usr/include-uapi/asm/mman.h|usr/include-uapi/asm/msgbuf.h|usr/include-uapi/asm/param.h|usr/include-uapi/asm/perf_regs.h|usr/include-uapi/asm/poll.h|usr/include-uapi/asm/ptrace.h|usr/include-uapi/asm/resource.h|usr/include-uapi/asm/sembuf.h|usr/include-uapi/asm/setup.h|usr/include-uapi/asm/shmbuf.h|usr/include-uapi/asm/sigcontext.h|usr/include-uapi/asm/siginfo.h|usr/include-uapi/asm/signal.h|usr/include-uapi/asm/stat.h|usr/include-uapi/asm/statfs.h|usr/include-uapi/asm/swab.h|usr/include-uapi/asm/termbits.h|usr/include-uapi/asm/termios.h|usr/include-uapi/asm/unistd.h|usr/include-uapi/drm/|usr/include-uapi/elphel/ahci_cmd.h|usr/include-uapi/elphel/exifa.h|usr/include-uapi/linux/acct.h|usr/include-uapi/linux/adb.h|usr/include-uapi/linux/adfs_fs.h|usr/include-uapi/linux/affs_hardblocks.h|usr/include-uapi/linux/agpgart.h|usr/include-uapi/linux/aio_abi.h|usr/include-uapi/linux/am437x-vpfe.h|usr/include-uapi/linux/android/|usr/include-uapi/linux/apm_bios.h|usr/include-uapi/linux/arcfb.h|usr/include-uapi/linux/atalk.h|usr/include-uapi/linux/atm.h|usr/include-uapi/linux/atm_eni.h|usr/include-uapi/linux/atm_he.h|usr/include-uapi/linux/atm_idt77105.h|usr/include-uapi/linux/atm_nicstar.h|usr/include-uapi/linux/atm_tcp.h|usr/include-uapi/linux/atm_zatm.h|usr/include-uapi/linux/atmapi.h|usr/include-uapi/linux/atmarp.h|usr/include-uapi/linux/atmbr2684.h|usr/include-uapi/linux/atmclip.h|usr/include-uapi/linux/atmdev.h|usr/include-uapi/linux/atmioc.h|usr/include-uapi/linux/atmlec.h|usr/include-uapi/linux/atmmpc.h|usr/include-uapi/linux/atmppp.h|usr/include-uapi/linux/atmsap.h|usr/include-uapi/linux/atmsvc.h|usr/include-uapi/linux/audit.h|usr/include-uapi/linux/auto_fs.h|usr/include-uapi/linux/auto_fs4.h|usr/include-uapi/linux/auxvec.h|usr/include-uapi/linux/ax25.h|usr/include-uapi/linux/b1lli.h|usr/include-uapi/linux/baycom.h|usr/include-uapi/linux/bcm933xx_hcs.h|usr/include-uapi/linux/bfs_fs.h|usr/include-uapi/linux/binfmts.h|usr/include-uapi/linux/blkpg.h|usr/include-uapi/linux/blktrace_api.h|usr/include-uapi/linux/bpf.h|usr/include-uapi/linux/bpf_common.h|usr/include-uapi/linux/bpf_perf_event.h|usr/include-uapi/linux/bpqether.h|usr/include-uapi/linux/bsg.h|usr/include-uapi/linux/bt-bmc.h|usr/include-uapi/linux/btrfs.h|usr/include-uapi/linux/byteorder/|usr/include-uapi/linux/caif/|usr/include-uapi/linux/can.h|usr/include-uapi/linux/can/|usr/include-uapi/linux/capability.h|usr/include-uapi/linux/capi.h|usr/include-uapi/linux/cciss_defs.h|usr/include-uapi/linux/cciss_ioctl.h|usr/include-uapi/linux/cdrom.h|usr/include-uapi/linux/cgroupstats.h|usr/include-uapi/linux/chio.h|usr/include-uapi/linux/cm4000_cs.h|usr/include-uapi/linux/cn_proc.h|usr/include-uapi/linux/coda.h|usr/include-uapi/linux/coda_psdev.h|usr/include-uapi/linux/coff.h|usr/include-uapi/linux/connector.h|usr/include-uapi/linux/const.h|usr/include-uapi/linux/cramfs_fs.h|usr/include-uapi/linux/cuda.h|usr/include-uapi/linux/cyclades.h|usr/include-uapi/linux/cycx_cfm.h|usr/include-uapi/linux/dcbnl.h|usr/include-uapi/linux/dccp.h|usr/include-uapi/linux/devlink.h|usr/include-uapi/linux/dlm.h|usr/include-uapi/linux/dlm_device.h|usr/include-uapi/linux/dlm_netlink.h|usr/include-uapi/linux/dlm_plock.h|usr/include-uapi/linux/dlmconstants.h|usr/include-uapi/linux/dm-ioctl.h|usr/include-uapi/linux/dm-log-userspace.h|usr/include-uapi/linux/dn.h|usr/include-uapi/linux/dqblk_xfs.h|usr/include-uapi/linux/dvb/|usr/include-uapi/linux/edd.h|usr/include-uapi/linux/efs_fs_sb.h|usr/include-uapi/linux/elf-em.h|usr/include-uapi/linux/elf-fdpic.h|usr/include-uapi/linux/elf.h|usr/include-uapi/linux/elfcore.h|usr/include-uapi/linux/errqueue.h|usr/include-uapi/linux/ethtool.h|usr/include-uapi/linux/eventpoll.h|usr/include-uapi/linux/fadvise.h|usr/include-uapi/linux/fanotify.h|usr/include-uapi/linux/fb.h|usr/include-uapi/linux/fcntl.h|usr/include-uapi/linux/fd.h|usr/include-uapi/linux/fdreg.h|usr/include-uapi/linux/fib_rules.h|usr/include-uapi/linux/fiemap.h|usr/include-uapi/linux/filter.h|usr/include-uapi/linux/firewire-cdev.h|usr/include-uapi/linux/firewire-constants.h|usr/include-uapi/linux/flat.h|usr/include-uapi/linux/fou.h|usr/include-uapi/linux/fs.h|usr/include-uapi/linux/fsl_hypervisor.h|usr/include-uapi/linux/fuse.h|usr/include-uapi/linux/futex.h|usr/include-uapi/linux/gameport.h|usr/include-uapi/linux/gen_stats.h|usr/include-uapi/linux/genetlink.h|usr/include-uapi/linux/gfs2_ondisk.h|usr/include-uapi/linux/gigaset_dev.h|usr/include-uapi/linux/gpio.h|usr/include-uapi/linux/gsmmux.h|usr/include-uapi/linux/gtp.h|usr/include-uapi/linux/hdlc.h|usr/include-uapi/linux/hdlc/|usr/include-uapi/linux/hdlcdrv.h|usr/include-uapi/linux/hdreg.h|usr/include-uapi/linux/hid.h|usr/include-uapi/linux/hiddev.h|usr/include-uapi/linux/hidraw.h|usr/include-uapi/linux/hpet.h|usr/include-uapi/linux/hsi/|usr/include-uapi/linux/hsr_netlink.h|usr/include-uapi/linux/hw_breakpoint.h|usr/include-uapi/linux/hyperv.h|usr/include-uapi/linux/hysdn_if.h|usr/include-uapi/linux/i2c-dev.h|usr/include-uapi/linux/i2c.h|usr/include-uapi/linux/i2o-dev.h|usr/include-uapi/linux/i8k.h|usr/include-uapi/linux/icmp.h|usr/include-uapi/linux/icmpv6.h|usr/include-uapi/linux/if.h|usr/include-uapi/linux/if_addr.h|usr/include-uapi/linux/if_addrlabel.h|usr/include-uapi/linux/if_alg.h|usr/include-uapi/linux/if_arcnet.h|usr/include-uapi/linux/if_arp.h|usr/include-uapi/linux/if_bonding.h|usr/include-uapi/linux/if_bridge.h|usr/include-uapi/linux/if_cablemodem.h|usr/include-uapi/linux/if_eql.h|usr/include-uapi/linux/if_ether.h|usr/include-uapi/linux/if_fc.h|usr/include-uapi/linux/if_fddi.h|usr/include-uapi/linux/if_frad.h|usr/include-uapi/linux/if_hippi.h|usr/include-uapi/linux/if_infiniband.h|usr/include-uapi/linux/if_link.h|usr/include-uapi/linux/if_ltalk.h|usr/include-uapi/linux/if_macsec.h|usr/include-uapi/linux/if_packet.h|usr/include-uapi/linux/if_phonet.h|usr/include-uapi/linux/if_plip.h|usr/include-uapi/linux/if_ppp.h|usr/include-uapi/linux/if_pppol2tp.h|usr/include-uapi/linux/if_pppox.h|usr/include-uapi/linux/if_slip.h|usr/include-uapi/linux/if_team.h|usr/include-uapi/linux/if_tun.h|usr/include-uapi/linux/if_tunnel.h|usr/include-uapi/linux/if_vlan.h|usr/include-uapi/linux/if_x25.h|usr/include-uapi/linux/igmp.h|usr/include-uapi/linux/iio/|usr/include-uapi/linux/ila.h|usr/include-uapi/linux/in.h|usr/include-uapi/linux/in6.h|usr/include-uapi/linux/in_route.h|usr/include-uapi/linux/inet_diag.h|usr/include-uapi/linux/inotify.h|usr/include-uapi/linux/input-event-codes.h|usr/include-uapi/linux/input.h|usr/include-uapi/linux/ip.h|usr/include-uapi/linux/ip6_tunnel.h|usr/include-uapi/linux/ip_vs.h|usr/include-uapi/linux/ipc.h|usr/include-uapi/linux/ipmi.h|usr/include-uapi/linux/ipmi_msgdefs.h|usr/include-uapi/linux/ipsec.h|usr/include-uapi/linux/ipv6.h|usr/include-uapi/linux/ipv6_route.h|usr/include-uapi/linux/ipx.h|usr/include-uapi/linux/irda.h|usr/include-uapi/linux/irqnr.h|usr/include-uapi/linux/isdn.h|usr/include-uapi/linux/isdn/|usr/include-uapi/linux/isdn_divertif.h|usr/include-uapi/linux/isdn_ppp.h|usr/include-uapi/linux/isdnif.h|usr/include-uapi/linux/iso_fs.h|usr/include-uapi/linux/ivtv.h|usr/include-uapi/linux/ivtvfb.h|usr/include-uapi/linux/ixjuser.h|usr/include-uapi/linux/jffs2.h|usr/include-uapi/linux/joystick.h|usr/include-uapi/linux/kcmp.h|usr/include-uapi/linux/kd.h|usr/include-uapi/linux/kdev_t.h|usr/include-uapi/linux/kernel-page-flags.h|usr/include-uapi/linux/kernelcapi.h|usr/include-uapi/linux/kexec.h|usr/include-uapi/linux/keyboard.h|usr/include-uapi/linux/keyctl.h|usr/include-uapi/linux/kvm.h|usr/include-uapi/linux/kvm_para.h|usr/include-uapi/linux/l2tp.h|usr/include-uapi/linux/libc-compat.h|usr/include-uapi/linux/limits.h|usr/include-uapi/linux/lirc.h|usr/include-uapi/linux/llc.h|usr/include-uapi/linux/loop.h|usr/include-uapi/linux/lp.h|usr/include-uapi/linux/lwtunnel.h|usr/include-uapi/linux/magic.h|usr/include-uapi/linux/major.h|usr/include-uapi/linux/map_to_7segment.h|usr/include-uapi/linux/matroxfb.h|usr/include-uapi/linux/mdio.h|usr/include-uapi/linux/media-bus-format.h|usr/include-uapi/linux/media.h|usr/include-uapi/linux/mei.h|usr/include-uapi/linux/membarrier.h|usr/include-uapi/linux/memfd.h|usr/include-uapi/linux/mempolicy.h|usr/include-uapi/linux/meye.h|usr/include-uapi/linux/mic_common.h|usr/include-uapi/linux/mic_ioctl.h|usr/include-uapi/linux/mii.h|usr/include-uapi/linux/minix_fs.h|usr/include-uapi/linux/mman.h|usr/include-uapi/linux/mmc/|usr/include-uapi/linux/mmtimer.h|usr/include-uapi/linux/mpls.h|usr/include-uapi/linux/mpls_iptunnel.h|usr/include-uapi/linux/mqueue.h|usr/include-uapi/linux/mroute.h|usr/include-uapi/linux/mroute6.h|usr/include-uapi/linux/msdos_fs.h|usr/include-uapi/linux/msg.h|usr/include-uapi/linux/mtio.h|usr/include-uapi/linux/n_r3964.h|usr/include-uapi/linux/nbd.h|usr/include-uapi/linux/ncp.h|usr/include-uapi/linux/ncp_fs.h|usr/include-uapi/linux/ncp_mount.h|usr/include-uapi/linux/ncp_no.h|usr/include-uapi/linux/ndctl.h|usr/include-uapi/linux/neighbour.h|usr/include-uapi/linux/net.h|usr/include-uapi/linux/net_dropmon.h|usr/include-uapi/linux/net_namespace.h|usr/include-uapi/linux/net_tstamp.h|usr/include-uapi/linux/netconf.h|usr/include-uapi/linux/netdevice.h|usr/include-uapi/linux/netfilter.h|usr/include-uapi/linux/netfilter/|usr/include-uapi/linux/netfilter_arp.h|usr/include-uapi/linux/netfilter_arp/|usr/include-uapi/linux/netfilter_bridge.h|usr/include-uapi/linux/netfilter_bridge/|usr/include-uapi/linux/netfilter_decnet.h|usr/include-uapi/linux/netfilter_ipv4.h|usr/include-uapi/linux/netfilter_ipv4/|usr/include-uapi/linux/netfilter_ipv6.h|usr/include-uapi/linux/netfilter_ipv6/|usr/include-uapi/linux/netlink.h|usr/include-uapi/linux/netlink_diag.h|usr/include-uapi/linux/netrom.h|usr/include-uapi/linux/nfc.h|usr/include-uapi/linux/nfs.h|usr/include-uapi/linux/nfs2.h|usr/include-uapi/linux/nfs3.h|usr/include-uapi/linux/nfs4.h|usr/include-uapi/linux/nfs4_mount.h|usr/include-uapi/linux/nfs_fs.h|usr/include-uapi/linux/nfs_idmap.h|usr/include-uapi/linux/nfs_mount.h|usr/include-uapi/linux/nfsacl.h|usr/include-uapi/linux/nfsd/|usr/include-uapi/linux/nl80211.h|usr/include-uapi/linux/nubus.h|usr/include-uapi/linux/nvme_ioctl.h|usr/include-uapi/linux/nvram.h|usr/include-uapi/linux/omap3isp.h|usr/include-uapi/linux/omapfb.h|usr/include-uapi/linux/oom.h|usr/include-uapi/linux/openvswitch.h|usr/include-uapi/linux/packet_diag.h|usr/include-uapi/linux/param.h|usr/include-uapi/linux/parport.h|usr/include-uapi/linux/patchkey.h|usr/include-uapi/linux/pci.h|usr/include-uapi/linux/pci_regs.h|usr/include-uapi/linux/perf_event.h|usr/include-uapi/linux/personality.h|usr/include-uapi/linux/pfkeyv2.h|usr/include-uapi/linux/pg.h|usr/include-uapi/linux/phantom.h|usr/include-uapi/linux/phonet.h|usr/include-uapi/linux/pkt_cls.h|usr/include-uapi/linux/pkt_sched.h|usr/include-uapi/linux/pktcdvd.h|usr/include-uapi/linux/pmu.h|usr/include-uapi/linux/poll.h|usr/include-uapi/linux/posix_acl.h|usr/include-uapi/linux/posix_acl_xattr.h|usr/include-uapi/linux/ppdev.h|usr/include-uapi/linux/ppp-comp.h|usr/include-uapi/linux/ppp-ioctl.h|usr/include-uapi/linux/ppp_defs.h|usr/include-uapi/linux/pps.h|usr/include-uapi/linux/prctl.h|usr/include-uapi/linux/psci.h|usr/include-uapi/linux/ptp_clock.h|usr/include-uapi/linux/ptrace.h|usr/include-uapi/linux/qnx4_fs.h|usr/include-uapi/linux/qnxtypes.h|usr/include-uapi/linux/quota.h|usr/include-uapi/linux/radeonfb.h|usr/include-uapi/linux/raid/|usr/include-uapi/linux/random.h|usr/include-uapi/linux/raw.h|usr/include-uapi/linux/rds.h|usr/include-uapi/linux/reboot.h|usr/include-uapi/linux/reiserfs_fs.h|usr/include-uapi/linux/reiserfs_xattr.h|usr/include-uapi/linux/resource.h|usr/include-uapi/linux/rfkill.h|usr/include-uapi/linux/rio_cm_cdev.h|usr/include-uapi/linux/rio_mport_cdev.h|usr/include-uapi/linux/romfs_fs.h|usr/include-uapi/linux/rose.h|usr/include-uapi/linux/route.h|usr/include-uapi/linux/rtc.h|usr/include-uapi/linux/rtnetlink.h|usr/include-uapi/linux/scc.h|usr/include-uapi/linux/sched.h|usr/include-uapi/linux/scif_ioctl.h|usr/include-uapi/linux/screen_info.h|usr/include-uapi/linux/sctp.h|usr/include-uapi/linux/sdla.h|usr/include-uapi/linux/seccomp.h|usr/include-uapi/linux/securebits.h|usr/include-uapi/linux/selinux_netlink.h|usr/include-uapi/linux/sem.h|usr/include-uapi/linux/serial.h|usr/include-uapi/linux/serial_core.h|usr/include-uapi/linux/serial_reg.h|usr/include-uapi/linux/serio.h|usr/include-uapi/linux/shm.h|usr/include-uapi/linux/signal.h|usr/include-uapi/linux/signalfd.h|usr/include-uapi/linux/smiapp.h|usr/include-uapi/linux/snmp.h|usr/include-uapi/linux/sock_diag.h|usr/include-uapi/linux/socket.h|usr/include-uapi/linux/sockios.h|usr/include-uapi/linux/sonet.h|usr/include-uapi/linux/sonypi.h|usr/include-uapi/linux/sound.h|usr/include-uapi/linux/soundcard.h|usr/include-uapi/linux/spi/|usr/include-uapi/linux/stat.h|usr/include-uapi/linux/string.h|usr/include-uapi/linux/sunrpc/|usr/include-uapi/linux/suspend_ioctls.h|usr/include-uapi/linux/swab.h|usr/include-uapi/linux/sync_file.h|usr/include-uapi/linux/synclink.h|usr/include-uapi/linux/target_core_user.h|usr/include-uapi/linux/taskstats.h|usr/include-uapi/linux/tc_act/|usr/include-uapi/linux/tc_ematch/|usr/include-uapi/linux/tcp.h|usr/include-uapi/linux/tcp_metrics.h|usr/include-uapi/linux/telephony.h|usr/include-uapi/linux/termios.h|usr/include-uapi/linux/thermal.h|usr/include-uapi/linux/time.h|usr/include-uapi/linux/times.h|usr/include-uapi/linux/timex.h|usr/include-uapi/linux/tiocl.h|usr/include-uapi/linux/tipc.h|usr/include-uapi/linux/tipc_config.h|usr/include-uapi/linux/tipc_netlink.h|usr/include-uapi/linux/toshiba.h|usr/include-uapi/linux/tty.h|usr/include-uapi/linux/tty_flags.h|usr/include-uapi/linux/udf_fs_i.h|usr/include-uapi/linux/udp.h|usr/include-uapi/linux/uhid.h|usr/include-uapi/linux/uinput.h|usr/include-uapi/linux/uio.h|usr/include-uapi/linux/ultrasound.h|usr/include-uapi/linux/un.h|usr/include-uapi/linux/unistd.h|usr/include-uapi/linux/unix_diag.h|usr/include-uapi/linux/usb/|usr/include-uapi/linux/usbdevice_fs.h|usr/include-uapi/linux/usbip.h|usr/include-uapi/linux/userfaultfd.h|usr/include-uapi/linux/utime.h|usr/include-uapi/linux/utsname.h|usr/include-uapi/linux/uuid.h|usr/include-uapi/linux/uvcvideo.h|usr/include-uapi/linux/v4l2-common.h|usr/include-uapi/linux/v4l2-controls.h|usr/include-uapi/linux/v4l2-dv-timings.h|usr/include-uapi/linux/v4l2-mediabus.h|usr/include-uapi/linux/v4l2-subdev.h|usr/include-uapi/linux/version.h|usr/include-uapi/linux/veth.h|usr/include-uapi/linux/vfio.h|usr/include-uapi/linux/vhost.h|usr/include-uapi/linux/videodev2.h|usr/include-uapi/linux/virtio_9p.h|usr/include-uapi/linux/virtio_balloon.h|usr/include-uapi/linux/virtio_blk.h|usr/include-uapi/linux/virtio_config.h|usr/include-uapi/linux/virtio_console.h|usr/include-uapi/linux/virtio_gpu.h|usr/include-uapi/linux/virtio_ids.h|usr/include-uapi/linux/virtio_input.h|usr/include-uapi/linux/virtio_net.h|usr/include-uapi/linux/virtio_pci.h|usr/include-uapi/linux/virtio_ring.h|usr/include-uapi/linux/virtio_rng.h|usr/include-uapi/linux/virtio_scsi.h|usr/include-uapi/linux/virtio_types.h|usr/include-uapi/linux/virtio_vsock.h|usr/include-uapi/linux/vm_sockets.h|usr/include-uapi/linux/vt.h|usr/include-uapi/linux/vtpm_proxy.h|usr/include-uapi/linux/wait.h|usr/include-uapi/linux/wanrouter.h|usr/include-uapi/linux/watchdog.h|usr/include-uapi/linux/wimax.h|usr/include-uapi/linux/wimax/|usr/include-uapi/linux/wireless.h|usr/include-uapi/linux/x25.h|usr/include-uapi/linux/xattr.h|usr/include-uapi/linux/xfrm.h|usr/include-uapi/linux/xilinx-csi2rxss.h|usr/include-uapi/linux/xilinx-hls.h|usr/include-uapi/linux/xilinx-v4l2-controls.h|usr/include-uapi/linux/zocl_ioctl.h|usr/include-uapi/linux/zorro.h|usr/include-uapi/linux/zorro_ids.h|usr/include-uapi/misc/|usr/include-uapi/mtd/|usr/include-uapi/rdma/|usr/include-uapi/scsi/|usr/include-uapi/sound/|usr/include-uapi/video/|usr/include-uapi/xen/|usr/include/a.out.h|usr/include/aio.h|usr/include/aliases.h|usr/include/alsa/alisp.h|usr/include/alsa/control_external.h|usr/include/alsa/mixer_abst.h|usr/include/alsa/pcm_external.h|usr/include/alsa/pcm_extplug.h|usr/include/alsa/pcm_ioplug.h|usr/include/alsa/pcm_old.h|usr/include/alsa/pcm_plugin.h|usr/include/alsa/pcm_rate.h|usr/include/alsa/sound/|usr/include/alsa/topology.h|usr/include/alsa/use-case.h|usr/include/ar.h|usr/include/argp.h|usr/include/argz.h|usr/include/arpa/ftp.h|usr/include/arpa/nameser.h|usr/include/arpa/nameser_compat.h|usr/include/arpa/telnet.h|usr/include/arpa/tftp.h|usr/include/asm-generic/|usr/include/asm/|usr/include/bits/a.out.h|usr/include/bits/cmathcalls.h|usr/include/bits/dirent.h|usr/include/bits/dlfcn.h|usr/include/bits/elfclass.h|usr/include/bits/epoll.h|usr/include/bits/error.h|usr/include/bits/eventfd.h|usr/include/bits/fcntl2.h|usr/include/bits/fenv-32.h|usr/include/bits/fenv.h|usr/include/bits/fenvinline.h|usr/include/bits/flt-eval-method.h|usr/include/bits/fp-fast-32.h|usr/include/bits/fp-fast.h|usr/include/bits/fp-logb.h|usr/include/bits/getopt_ext.h|usr/include/bits/huge_val.h|usr/include/bits/huge_val_flt128.h|usr/include/bits/huge_valf.h|usr/include/bits/huge_vall.h|usr/include/bits/hwcap-32.h|usr/include/bits/hwcap.h|usr/include/bits/inf.h|usr/include/bits/initspin.h|usr/include/bits/inotify.h|usr/include/bits/ipc-32.h|usr/include/bits/ipc.h|usr/include/bits/ipctypes.h|usr/include/bits/iscanonical.h|usr/include/bits/libio-ldbl.h|usr/include/bits/libm-simd-decl-stubs.h|usr/include/bits/link-32.h|usr/include/bits/link.h|usr/include/bits/local_lim-32.h|usr/include/bits/local_lim.h|usr/include/bits/math-finite.h|usr/include/bits/math-vector.h|usr/include/bits/mathcalls-helper-functions.h|usr/include/bits/mathcalls.h|usr/include/bits/mathdef.h|usr/include/bits/mathinline.h|usr/include/bits/monetary-ldbl.h|usr/include/bits/mqueue.h|usr/include/bits/mqueue2.h|usr/include/bits/msq-32.h|usr/include/bits/msq.h|usr/include/bits/nan.h|usr/include/bits/netdb.h|usr/include/bits/param.h|usr/include/bits/poll2.h|usr/include/bits/posix1_lim.h|usr/include/bits/posix2_lim.h|usr/include/bits/printf-ldbl.h|usr/include/bits/resource.h|usr/include/bits/select2.h|usr/include/bits/sem-32.h|usr/include/bits/sem.h|usr/include/bits/setjmp2.h|usr/include/bits/shm-32.h|usr/include/bits/shm.h|usr/include/bits/sigaction.h|usr/include/bits/sigcontext.h|usr/include/bits/sigevent-consts.h|usr/include/bits/siginfo-arch.h|usr/include/bits/siginfo-consts-arch.h|usr/include/bits/siginfo-consts.h|usr/include/bits/signalfd.h|usr/include/bits/signum-generic.h|usr/include/bits/signum.h|usr/include/bits/sigstack-32.h|usr/include/bits/sigstack.h|usr/include/bits/sigthread.h|usr/include/bits/socket2.h|usr/include/bits/ss_flags.h|usr/include/bits/statfs-32.h|usr/include/bits/statfs.h|usr/include/bits/statvfs.h|usr/include/bits/stdio-ldbl.h|usr/include/bits/stdio2.h|usr/include/bits/stdlib-ldbl.h|usr/include/bits/stdlib.h|usr/include/bits/string_fortified.h|usr/include/bits/strings_fortified.h|usr/include/bits/stropts.h|usr/include/bits/syscall-32.h|usr/include/bits/syscall.h|usr/include/bits/sysctl.h|usr/include/bits/syslog-ldbl.h|usr/include/bits/syslog-path.h|usr/include/bits/syslog.h|usr/include/bits/termios.h|usr/include/bits/timerfd.h|usr/include/bits/types/res_state.h|usr/include/bits/types/sig_atomic_t.h|usr/include/bits/types/sigevent_t.h|usr/include/bits/types/siginfo_t.h|usr/include/bits/types/sigval_t.h|usr/include/bits/types/stack_t.h|usr/include/bits/types/struct_rusage.h|usr/include/bits/types/struct_sigstack.h|usr/include/bits/unistd.h|usr/include/bits/ustat.h|usr/include/bits/utmp.h|usr/include/bits/utmpx.h|usr/include/bits/utsname.h|usr/include/bits/wchar-ldbl.h|usr/include/bits/wchar2.h|usr/include/bits/xopen_lim.h|usr/include/bits/xtitypes.h|usr/include/byteswap.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/basic_file.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/c++io.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/cxxabi_tweaks.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/error_constants.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/extc++.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/gthr-posix.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/gthr-single.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/messages_members.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/opt_random.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/stdc++.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/stdtr1c++.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/bits/time_members.h|usr/include/c++/7.2.0/arm-poky-linux-gnueabi/ext/|usr/include/c++/7.2.0/backward/auto_ptr.h|usr/include/c++/7.2.0/backward/backward_warning.h|usr/include/c++/7.2.0/backward/hash_fun.h|usr/include/c++/7.2.0/backward/hashtable.h|usr/include/c++/7.2.0/bits/algorithmfwd.h|usr/include/c++/7.2.0/bits/alloc_traits.h|usr/include/c++/7.2.0/bits/allocated_ptr.h|usr/include/c++/7.2.0/bits/atomic_base.h|usr/include/c++/7.2.0/bits/atomic_futex.h|usr/include/c++/7.2.0/bits/atomic_lockfree_defines.h|usr/include/c++/7.2.0/bits/boost_concept_check.h|usr/include/c++/7.2.0/bits/c++0x_warning.h|usr/include/c++/7.2.0/bits/c++14_warning.h|usr/include/c++/7.2.0/bits/c++17_warning.h|usr/include/c++/7.2.0/bits/codecvt.h|usr/include/c++/7.2.0/bits/cxxabi_init_exception.h|usr/include/c++/7.2.0/bits/enable_special_members.h|usr/include/c++/7.2.0/bits/exception_ptr.h|usr/include/c++/7.2.0/bits/forward_list.h|usr/include/c++/7.2.0/bits/functional_hash.h|usr/include/c++/7.2.0/bits/gslice.h|usr/include/c++/7.2.0/bits/gslice_array.h|usr/include/c++/7.2.0/bits/hash_bytes.h|usr/include/c++/7.2.0/bits/hashtable.h|usr/include/c++/7.2.0/bits/hashtable_policy.h|usr/include/c++/7.2.0/bits/indirect_array.h|usr/include/c++/7.2.0/bits/invoke.h|usr/include/c++/7.2.0/bits/locale_conv.h|usr/include/c++/7.2.0/bits/locale_facets_nonio.h|usr/include/c++/7.2.0/bits/mask_array.h|usr/include/c++/7.2.0/bits/nested_exception.h|usr/include/c++/7.2.0/bits/node_handle.h|usr/include/c++/7.2.0/bits/parse_numbers.h|usr/include/c++/7.2.0/bits/quoted_string.h|usr/include/c++/7.2.0/bits/random.h|usr/include/c++/7.2.0/bits/refwrap.h|usr/include/c++/7.2.0/bits/regex.h|usr/include/c++/7.2.0/bits/regex_automaton.h|usr/include/c++/7.2.0/bits/regex_compiler.h|usr/include/c++/7.2.0/bits/regex_constants.h|usr/include/c++/7.2.0/bits/regex_error.h|usr/include/c++/7.2.0/bits/regex_executor.h|usr/include/c++/7.2.0/bits/regex_scanner.h|usr/include/c++/7.2.0/bits/shared_ptr.h|usr/include/c++/7.2.0/bits/shared_ptr_atomic.h|usr/include/c++/7.2.0/bits/shared_ptr_base.h|usr/include/c++/7.2.0/bits/slice_array.h|usr/include/c++/7.2.0/bits/specfun.h|usr/include/c++/7.2.0/bits/std_function.h|usr/include/c++/7.2.0/bits/std_mutex.h|usr/include/c++/7.2.0/bits/stl_algo.h|usr/include/c++/7.2.0/bits/stl_deque.h|usr/include/c++/7.2.0/bits/stl_heap.h|usr/include/c++/7.2.0/bits/stl_multiset.h|usr/include/c++/7.2.0/bits/stl_numeric.h|usr/include/c++/7.2.0/bits/stl_queue.h|usr/include/c++/7.2.0/bits/stl_raw_storage_iter.h|usr/include/c++/7.2.0/bits/stl_relops.h|usr/include/c++/7.2.0/bits/stl_set.h|usr/include/c++/7.2.0/bits/stl_stack.h|usr/include/c++/7.2.0/bits/stl_tempbuf.h|usr/include/c++/7.2.0/bits/stream_iterator.h|usr/include/c++/7.2.0/bits/uniform_int_dist.h|usr/include/c++/7.2.0/bits/unique_ptr.h|usr/include/c++/7.2.0/bits/unordered_map.h|usr/include/c++/7.2.0/bits/unordered_set.h|usr/include/c++/7.2.0/bits/uses_allocator.h|usr/include/c++/7.2.0/bits/valarray_after.h|usr/include/c++/7.2.0/bits/valarray_array.h|usr/include/c++/7.2.0/bits/valarray_before.h|usr/include/c++/7.2.0/complex.h|usr/include/c++/7.2.0/cxxabi.h|usr/include/c++/7.2.0/debug/formatter.h|usr/include/c++/7.2.0/debug/functions.h|usr/include/c++/7.2.0/debug/helper_functions.h|usr/include/c++/7.2.0/debug/macros.h|usr/include/c++/7.2.0/debug/map.h|usr/include/c++/7.2.0/debug/multimap.h|usr/include/c++/7.2.0/debug/multiset.h|usr/include/c++/7.2.0/debug/safe_base.h|usr/include/c++/7.2.0/debug/safe_container.h|usr/include/c++/7.2.0/debug/safe_iterator.h|usr/include/c++/7.2.0/debug/safe_local_iterator.h|usr/include/c++/7.2.0/debug/safe_sequence.h|usr/include/c++/7.2.0/debug/safe_unordered_base.h|usr/include/c++/7.2.0/debug/safe_unordered_container.h|usr/include/c++/7.2.0/debug/set.h|usr/include/c++/7.2.0/debug/stl_iterator.h|usr/include/c++/7.2.0/decimal/|usr/include/c++/7.2.0/experimental/|usr/include/c++/7.2.0/ext/aligned_buffer.h|usr/include/c++/7.2.0/ext/array_allocator.h|usr/include/c++/7.2.0/ext/bitmap_allocator.h|usr/include/c++/7.2.0/ext/cast.h|usr/include/c++/7.2.0/ext/codecvt_specializations.h|usr/include/c++/7.2.0/ext/concurrence.h|usr/include/c++/7.2.0/ext/debug_allocator.h|usr/include/c++/7.2.0/ext/enc_filebuf.h|usr/include/c++/7.2.0/ext/extptr_allocator.h|usr/include/c++/7.2.0/ext/malloc_allocator.h|usr/include/c++/7.2.0/ext/mt_allocator.h|usr/include/c++/7.2.0/ext/pod_char_traits.h|usr/include/c++/7.2.0/ext/pointer.h|usr/include/c++/7.2.0/ext/pool_allocator.h|usr/include/c++/7.2.0/ext/rc_string_base.h|usr/include/c++/7.2.0/ext/ropeimpl.h|usr/include/c++/7.2.0/ext/sso_string_base.h|usr/include/c++/7.2.0/ext/stdio_filebuf.h|usr/include/c++/7.2.0/ext/stdio_sync_filebuf.h|usr/include/c++/7.2.0/ext/string_conversions.h|usr/include/c++/7.2.0/ext/throw_allocator.h|usr/include/c++/7.2.0/ext/typelist.h|usr/include/c++/7.2.0/ext/vstring.h|usr/include/c++/7.2.0/ext/vstring_fwd.h|usr/include/c++/7.2.0/ext/vstring_util.h|usr/include/c++/7.2.0/fenv.h|usr/include/c++/7.2.0/math.h|usr/include/c++/7.2.0/parallel/|usr/include/c++/7.2.0/profile/|usr/include/c++/7.2.0/tgmath.h|usr/include/c++/7.2.0/tr1/|usr/include/complex.h|usr/include/cpio.h|usr/include/crypt.h|usr/include/dirent.h|usr/include/dlfcn.h|usr/include/drm/|usr/include/elf.h|usr/include/envz.h|usr/include/err.h|usr/include/error.h|usr/include/execinfo.h|usr/include/fenv.h|usr/include/fmtmsg.h|usr/include/fnmatch.h|usr/include/fpu_control-32.h|usr/include/fpu_control.h|usr/include/fstab.h|usr/include/fts.h|usr/include/ftw.h|usr/include/gconv.h|usr/include/getopt.h|usr/include/glob.h|usr/include/gnu-versions.h|usr/include/gnu/lib-names-32.h|usr/include/gnu/lib-names-soft.h|usr/include/gnu/lib-names.h|usr/include/gnu/libc-version.h|usr/include/grp.h|usr/include/gshadow.h|usr/include/iconv.h|usr/include/ieee754-32.h|usr/include/ieee754.h|usr/include/ifaddrs.h|usr/include/inttypes.h|usr/include/langinfo.h|usr/include/lastlog.h|usr/include/libgen.h|usr/include/libintl.h|usr/include/limits.h|usr/include/link.h|usr/include/linux/|usr/include/malloc.h|usr/include/math.h|usr/include/mcheck.h|usr/include/memory.h|usr/include/misc/|usr/include/mntent.h|usr/include/monetary.h|usr/include/mqueue.h|usr/include/mtd/|usr/include/net/|usr/include/netash/|usr/include/netatalk/|usr/include/netax25/|usr/include/netdb.h|usr/include/neteconet/|usr/include/netinet/ether.h|usr/include/netinet/icmp6.h|usr/include/netinet/if_ether.h|usr/include/netinet/if_fddi.h|usr/include/netinet/if_tr.h|usr/include/netinet/igmp.h|usr/include/netinet/in_systm.h|usr/include/netinet/ip.h|usr/include/netinet/ip6.h|usr/include/netinet/ip_icmp.h|usr/include/netinet/tcp.h|usr/include/netinet/udp.h|usr/include/netipx/|usr/include/netiucv/|usr/include/netpacket/|usr/include/netrom/|usr/include/netrose/|usr/include/nfs/|usr/include/nl_types.h|usr/include/nss.h|usr/include/obstack.h|usr/include/paths.h|usr/include/printf.h|usr/include/proc_service.h|usr/include/protocols/|usr/include/pty.h|usr/include/pwd.h|usr/include/rdma/|usr/include/re_comp.h|usr/include/regex.h|usr/include/regexp.h|usr/include/resolv.h|usr/include/rpc/|usr/include/rpcsvc/|usr/include/scsi/|usr/include/search.h|usr/include/setjmp.h|usr/include/sgtty.h|usr/include/shadow.h|usr/include/signal.h|usr/include/sound/|usr/include/spawn.h|usr/include/stab.h|usr/include/stdio_ext.h|usr/include/stropts.h|usr/include/sys/acct.h|usr/include/sys/asoundlib.h|usr/include/sys/auxv.h|usr/include/sys/bitypes.h|usr/include/sys/dir.h|usr/include/sys/elf-32.h|usr/include/sys/elf.h|usr/include/sys/epoll.h|usr/include/sys/errno.h|usr/include/sys/eventfd.h|usr/include/sys/fanotify.h|usr/include/sys/fcntl.h|usr/include/sys/file.h|usr/include/sys/fsuid.h|usr/include/sys/gmon.h|usr/include/sys/gmon_out.h|usr/include/sys/inotify.h|usr/include/sys/io.h|usr/include/sys/ipc.h|usr/include/sys/kd.h|usr/include/sys/klog.h|usr/include/sys/mount.h|usr/include/sys/msg.h|usr/include/sys/mtio.h|usr/include/sys/param.h|usr/include/sys/pci.h|usr/include/sys/personality.h|usr/include/sys/prctl.h|usr/include/sys/procfs-32.h|usr/include/sys/procfs.h|usr/include/sys/profil.h|usr/include/sys/ptrace-32.h|usr/include/sys/ptrace.h|usr/include/sys/queue.h|usr/include/sys/quota.h|usr/include/sys/random.h|usr/include/sys/raw.h|usr/include/sys/reboot.h|usr/include/sys/resource.h|usr/include/sys/sem.h|usr/include/sys/sendfile.h|usr/include/sys/shm.h|usr/include/sys/signal.h|usr/include/sys/signalfd.h|usr/include/sys/socketvar.h|usr/include/sys/soundcard.h|usr/include/sys/statfs.h|usr/include/sys/statvfs.h|usr/include/sys/stropts.h|usr/include/sys/swap.h|usr/include/sys/syscall.h|usr/include/sys/sysctl.h|usr/include/sys/sysinfo.h|usr/include/sys/syslog.h|usr/include/sys/termios.h|usr/include/sys/timeb.h|usr/include/sys/timerfd.h|usr/include/sys/times.h|usr/include/sys/timex.h|usr/include/sys/ttychars.h|usr/include/sys/ucontext-32.h|usr/include/sys/ucontext.h|usr/include/sys/un.h|usr/include/sys/unistd.h|usr/include/sys/user-32.h|usr/include/sys/user.h|usr/include/sys/ustat.h|usr/include/sys/utsname.h|usr/include/sys/vfs.h|usr/include/sys/vlimit.h|usr/include/sys/vt.h|usr/include/sys/vtimes.h|usr/include/sys/wait.h|usr/include/sys/xattr.h|usr/include/syscall.h|usr/include/sysexits.h|usr/include/syslog.h|usr/include/tar.h|usr/include/termio.h|usr/include/termios.h|usr/include/tgmath.h|usr/include/thread_db.h|usr/include/ttyent.h|usr/include/uchar.h|usr/include/ucontext.h|usr/include/ulimit.h|usr/include/ustat.h|usr/include/utime.h|usr/include/utmp.h|usr/include/utmpx.h|usr/include/values.h|usr/include/video/|usr/include/wait.h|usr/include/wordexp.h|usr/include/xen/|usr/lib/" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sysroots"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
......@@ -72,4 +82,5 @@
<resource resourceType="PROJECT" workspacePath="/elphel-apps-astreamer"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>
......@@ -25,6 +25,8 @@
#include <string>
#include <list>
#include <sys/socket.h>
// Elphel, Rocko: socket.h does not include uio.h anymore
#include <sys/uio.h>
using namespace std;
......
#!/usr/bin/env python
# encoding: utf-8
from __future__ import division
from __future__ import print_function
"""
# @file used_files.py
# @brief Extract file access data after build, modify CDT project configuration
# (.cproject) accordingly
# @copyright Copyright (C) 2016, Elphel.inc.
# @param <b>License</b>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
@author: Andrey Filippov
@license: GPLv3.0+
@contact: andrey@elphel.coml
@deffield updated: Updated
"""
__author__ = "Andrey Filippov"
__copyright__ = "Copyright 2016, Elphel, Inc."
__license__ = "GPL"
__version__ = "3.0+"
__maintainer__ = "Andrey Filippov"
__email__ = "andrey@elphel.com"
__status__ = "Development"
import sys
import os
import time
import xml.etree.ElementTree as ET
'''
TODO:Automate, find out why separate touch commands are needed
Run this program twice:
1-st run ./used_files.py linux -1
and save shown timestamp
Then run (some mystery here)
touch src/drivers/ata/ahci_elphel.c
touch src/drivers/elphel/sensor_common.c
Wait 5 seconds and run (in a different console with appropriate sourcing)
bitbake linux-xlnx -c compile -f
Then again
./used_files.py linux <timestamp_from_the_first_run>
If somethong went wrong you will need to resore .cproject from eclipse_project_setup directory
For php:
bitbake php -c cleansstate
bitbake php -c unpack -f
bitbake php -c configure -f
./used_files.py php -1
bitbake php -c compile -f
./used_files.py php 1471044836.8
Doing:
bitbake php -c compile -f
./used_files.py php -1
bitbake php -c compile -f
./used_files.py php 1471044836.8
Corrupts make process
'''
def file_tree(flist): # Each file in list is a file, no directories
ftree={}
for p in flist:
node = ftree
seg_list=p.split(os.sep)
last_i=len(seg_list)-1
for i,segm in enumerate(seg_list):
if not segm in node:
if i == last_i:
node[segm] = None
else:
node[segm] = {}
node=node[segm]
return ftree
def exclude_list(ftree, flist):
mark = "*" # no file/dir name can be "*"
def list_tree_recursive(root):
rslt = []
if not mark in root:
return [[""]] # convert to trailing "/" for directories
for n in root:
if not n == mark:
if root[n] is None:
rslt.append([n])
else:
for l in list_tree_recursive(root[n]):
rslt.append([n]+l)
return rslt
ftree[mark]=None # mark top level dir
for p in flist:
node = ftree
for segm in p.split(os.sep)[:-1]:
node=node[segm]
node[mark]=None # [mark] means used in flist
del node[p.split(os.sep)[-1]]
#print (ftree)
# for k in ftree:
# print(k)
#Now prune unused directories
#prune_recursive(ftree) # (assuming root is used)
# now create list
files_list_list = list_tree_recursive(ftree)
# print (files_list_list)
#converrt to file paths
pl = []
for l in files_list_list:
pl.append(os.path.join(*(l[1:])))
pl = sorted (pl)
return pl
def proc_tree():
DEBUG = True
extensions = [".h",".c",".cpp"]
exclude_start = ["linux"+os.sep+"scripts"+os.sep,"linux"+os.sep+"source"+os.sep+"scripts"+os.sep]
delta_t = 3 # seconds
try:
root_path = sys.argv[1]
except:
print ("Calling %s <root directory path> [timestamp]"%(os.path.basename(sys.argv[0])))
try:
start_time = float(sys.argv[2])
except:
start_time = 0.0
touch_files= start_time < 0.0
print ("root_path = %s"%(root_path))
# root_path = "/home/eyesis/git/poky/linux-elphel/linux/"
lstFiles = []
# Append files to a list
for path, _, files in os.walk(root_path, followlinks = True):
for f in files:
for ext in extensions:
if f.endswith(ext):
lstFiles.append(os.path.join(path, f))
break
all_tree= file_tree(sorted(lstFiles))
include_lst=[]
lst_a = []
latest_at=0
for p in lstFiles:
if touch_files:
if os.path.islink(p):
try:
os.utime(os.path.realpath(p), None)
except:
print("missing linked file: %s"%(os.path.realpath(p)))
else:
os.utime(p, None)
else:
# at = time.ctime(os.stat(p).st_atime)
try:
at = os.stat(p).st_atime
l = None
except:
at = 0
if os.path.islink(p):
try:
l = os.path.realpath(p)
at = os.stat(l).st_atime
except:
at = 0 # missing file
latest_at = max((latest_at,at))
if at > (start_time + delta_t):
#Scripts/lexers result in problems
exclude=False
for exStr in exclude_start:
if p.startswith(exStr):
exclude=True
break
if exclude:
break
#exclude_start
lst_a.append([p,at,l])
include_lst.append(p)
if touch_files:
print (len(lstFiles), "last time = ", time.time())
return
excluding = exclude_list(all_tree, include_lst)
# print (all_tree)
# print (sorted(include_lst))
# print ("|".join(excluding))
if DEBUG:
with open("all_sources.lst","w" ) as f:
for p in sorted(lstFiles):
try:
at = os.stat(p).st_atime
except:
at = 0
lnk=""
if os.path.islink(p):
try:
at = os.stat(os.path.realpath(p)).st_atime
except:
at = 0
lnk = os.path.realpath(p)
print (p,at,lnk, file=f)
with open("excluding.lst","w" ) as f:
for p in excluding:
print (p, file=f)
with open("including.lst","w" ) as f:
for p in include_lst:
print (p, file=f)
# include_tree= file_tree(sorted(include_lst))
# print(include_tree)
root_dir=include_lst[0].split(os.sep)[0]
print ("root_dir=",root_dir)
xml= ET.parse(".cproject")
root=xml.getroot()
# for child in root:
# print(child.tag, child.attrib)
for child in root.iter('sourceEntries'):
for gchild in child:
print(gchild.tag)
for child in root.iter('sourceEntries'):
for gchild in child:
if gchild.tag == 'entry':
attr = gchild.attrib
try:
if (attr['kind'] == 'sourcePath') and (attr['name'] == root_dir):
child.remove (gchild)
print ("Removed existing entry ",gchild.tag)
break
except:
print ("error matching attributes for ",gchild.tag)
pass
break #after first 'sourceEntries' - should be just one?
ET.SubElement(child, 'entry', {"flags":"VALUE_WORKSPACE_PATH", "kind":"sourcePath", "name":root_dir, "excluding":"|".join(excluding)})
for child in root.iter('sourceEntries'):
for gchild in child:
print(gchild.tag)
oneliner= ET.tostring(root)
#overwrites original .cproject, may change to somethong different
with open(".cproject", "wr") as f:
f.write("""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?>""")
f.write(oneliner)
print (len(lstFiles), len(lst_a), "last access time = ",latest_at)
if __name__ == '__main__':
proc_tree()
"""
make clean # otherwise compiled files are preserved
bitbake apps-autoexposure -c cleansstate
bitbake apps-autoexposure -c unpack -f
bitbake apps-autoexposure -c configure -f
./used_files.py sysroots -1
bitbake apps-autoexposure -c compile -f
./used_files.py sysroots 1473297567.42
eyesis@eyesis-SH87R:~/git/elphel393/rootfs-elphel/elphel-apps-autoexposure$ ./used_files.py sysroots/elphel393/usr -1
root_path = sysroots/elphel393/usr
5615 last time = 1473300068.01
eyesis@eyesis-SH87R:~/git/elphel393/rootfs-elphel/elphel-apps-autoexposure$ ./used_files.py sysroots/elphel393/usr 1473300068.01
root_path = sysroots/elphel393/usr
root_dir= sysroots
entry
entry
entry
entry
entry
5615 84 last access time = 1473300080.1
"""
\ No newline at end of file