]> rtime.felk.cvut.cz Git - linux-conf-perf.git/log
linux-conf-perf.git
8 years agoFix commit ad69a1 v201509
Karel Kočí [Tue, 22 Sep 2015 14:42:27 +0000 (16:42 +0200)]
Fix commit ad69a1

8 years agoExecute checkmeasure only once
Karel Kočí [Tue, 22 Sep 2015 10:56:30 +0000 (12:56 +0200)]
Execute checkmeasure only once

8 years agoFix bug described in commit 5ef685
Karel Kočí [Tue, 22 Sep 2015 10:19:14 +0000 (12:19 +0200)]
Fix bug described in commit 5ef685

8 years agoIgnore decode error from subprocess
Karel Kočí [Mon, 21 Sep 2015 17:49:51 +0000 (19:49 +0200)]
Ignore decode error from subprocess

8 years agoPotential fix of wrong input data format exception
Karel Kočí [Mon, 21 Sep 2015 12:00:05 +0000 (14:00 +0200)]
Potential fix of wrong input data format exception

8 years agoDisable multithreading for ryuglab target
Karel Kočí [Fri, 18 Sep 2015 12:57:55 +0000 (14:57 +0200)]
Disable multithreading for ryuglab target

Multithreading is problematic and needs fixing. So again it is disabled
for measuring purposes.

8 years agoFix list of fixed configurations for ryuglab target
Karel Kočí [Fri, 18 Sep 2015 12:13:50 +0000 (14:13 +0200)]
Fix list of fixed configurations for ryuglab target

In list of fixed configuration options was option PREEMPT_RT_FULL
listed with CONFIG_ prefix.

8 years agoClean repository
Karel Kočí [Fri, 18 Sep 2015 08:59:50 +0000 (10:59 +0200)]
Clean repository

Remove some unused files.

8 years agoMove buildroot submodule to script folder
Karel Kočí [Fri, 18 Sep 2015 08:53:47 +0000 (10:53 +0200)]
Move buildroot submodule to script folder

Novaboot, picosat,... are in script directory. Only buildroot was in
root directory.

8 years agoFix target/ryuglab/linux submodule
Karel Kočí [Fri, 18 Sep 2015 07:39:29 +0000 (09:39 +0200)]
Fix target/ryuglab/linux submodule

We expect to use realtime branch, but master was committed to git.

8 years agoAdd scripts buildcnf
Karel Kočí [Fri, 18 Sep 2015 07:31:18 +0000 (09:31 +0200)]
Add scripts buildcnf

This script is for debugging purposes only. It should be launched only
in jobfiles folder and it's generating file cnf.

8 years agoUpdate submodule target/ryuglab/linux
Karel Kočí [Thu, 17 Sep 2015 16:11:47 +0000 (18:11 +0200)]
Update submodule target/ryuglab/linux

New commit contains new configuration, that will be used for measuring
kernel folder configuration options.

8 years agoAdd measurable check while initialization
Karel Kočí [Thu, 17 Sep 2015 16:09:53 +0000 (18:09 +0200)]
Add measurable check while initialization

Some configurations options can't be measured. While initialization are
detected and warning is printed.

8 years agoFix parse_kconfig symbol default
Karel Kočí [Thu, 17 Sep 2015 11:03:02 +0000 (13:03 +0200)]
Fix parse_kconfig symbol default

Generated rules for symbols default values was used without information
about their order. Kconfig documentation specifies that only first
valid default value specification should be used.

8 years agoRemove image after measurement
Karel Kočí [Mon, 14 Sep 2015 13:04:49 +0000 (15:04 +0200)]
Remove image after measurement

Image should be removed after it was measured. Otherwise Linux images
are piling up in jobfolder.

8 years agoEnable multithreading for ryuglab target
Karel Kočí [Mon, 14 Sep 2015 12:56:23 +0000 (14:56 +0200)]
Enable multithreading for ryuglab target

8 years agoFix multithreading
Karel Kočí [Mon, 14 Sep 2015 12:51:31 +0000 (14:51 +0200)]
Fix multithreading

When multithreading was enabled, same configuration could been build
multiple times. Adding list of built configurations and filtering list
of configurations sourced from database solves this problem. Now script
is aware of configurations that was prepared and not yet been measured.

8 years agoExport int values to conf.mk
Karel Kočí [Mon, 14 Sep 2015 09:50:22 +0000 (11:50 +0200)]
Export int values to conf.mk

Generated configuration file for makefile did not contain int values.
But they were used. This is new feature but also fix.

8 years agoAdd makefile target psql
Karel Kočí [Mon, 14 Sep 2015 09:45:32 +0000 (11:45 +0200)]
Add makefile target psql

This new target allows direct access to database wit parameters set in
conf.py and conf.py of selected target. This is simple fast access to
database.

8 years agoChange boot to execute only one scripts
Karel Kočí [Mon, 14 Sep 2015 09:26:36 +0000 (11:26 +0200)]
Change boot to execute only one scripts

Boot is now executing only lcpinit script. /init scripts is not used
during measurements. Booting without boot script, only using novaboot
scripts, results in using /init script. This helps to access cli in
booted machine without editing any files.

8 years agoFix empty temporally file for config generation
Karel Kočí [Mon, 14 Sep 2015 08:28:24 +0000 (10:28 +0200)]
Fix empty temporally file for config generation

Generated temporally configuration file was read.

8 years agoFix parse_kconfig choice parsing
Karel Kočí [Sat, 12 Sep 2015 09:46:26 +0000 (11:46 +0200)]
Fix parse_kconfig choice parsing

Parsing choices was implemented wrong. For non-optional choice output
rules must contain also dependency of all choice symbols. Because if no
choice symbol has fulfilled dependencies, than choice shouldn't be
selected.

8 years agoFix fromfolder script
Karel Kočí [Sat, 12 Sep 2015 09:23:42 +0000 (11:23 +0200)]
Fix fromfolder script

Script ended with exception when no file with list of non-remove
configuration options was provided.

8 years agoReimplement fromfolder script
Karel Kočí [Fri, 28 Aug 2015 15:45:26 +0000 (17:45 +0200)]
Reimplement fromfolder script

Removing configuration options from configuration file according to
definition folder. New implementation allows to specify required
configuration options that shouldn't be removed in any case.

8 years agoRyuglab target update linux
Karel Kočí [Fri, 28 Aug 2015 10:05:27 +0000 (12:05 +0200)]
Ryuglab target update linux

Setup Linux of ryuglab to realtime branch.

8 years agoFix terminate variable for single thread mode
Karel Kočí [Wed, 26 Aug 2015 19:42:00 +0000 (21:42 +0200)]
Fix terminate variable for single thread mode

Latest changes for multithreading broke single thread mode.

8 years agoDisable multithread for ryuglab target
Karel Kočí [Wed, 26 Aug 2015 19:37:17 +0000 (21:37 +0200)]
Disable multithread for ryuglab target

Multithreading is not working properly yet. So it won't be used for
active measuring.

8 years agoUse event for thread synchronization in multithread mode
Karel Kočí [Wed, 26 Aug 2015 19:23:58 +0000 (21:23 +0200)]
Use event for thread synchronization in multithread mode

8 years agoFix thread alive check
Karel Kočí [Wed, 26 Aug 2015 17:28:41 +0000 (19:28 +0200)]
Fix thread alive check

8 years agoAdd print to signal thread start and stop in multithread mode
Karel Kočí [Wed, 26 Aug 2015 17:15:02 +0000 (19:15 +0200)]
Add print to signal thread start and stop in multithread mode

8 years agoFix multithread locking and terminating
Karel Kočí [Wed, 26 Aug 2015 17:09:10 +0000 (19:09 +0200)]
Fix multithread locking and terminating

8 years agoFix configuration generation
Karel Kočí [Wed, 26 Aug 2015 14:57:29 +0000 (16:57 +0200)]
Fix configuration generation

8 years agoFix multithreading
Karel Kočí [Wed, 26 Aug 2015 14:00:09 +0000 (16:00 +0200)]
Fix multithreading

8 years agoFix random configuration generator
Karel Kočí [Wed, 26 Aug 2015 09:15:50 +0000 (11:15 +0200)]
Fix random configuration generator

Picosat is as default using 0 as seed for random generator. This lead
on same configuration every time.

8 years agoAdd dependency to .conf.mk on .target in Makefile
Karel Kočí [Wed, 26 Aug 2015 07:53:25 +0000 (09:53 +0200)]
Add dependency to .conf.mk on .target in Makefile

If .target file is changed (=target changed), makefile configuration
should been regenerated.

8 years agoFix wrong function call in configurations script
Karel Kočí [Mon, 24 Aug 2015 14:54:05 +0000 (16:54 +0200)]
Fix wrong function call in configurations script

8 years agoAdd boot timeout
Karel Kočí [Mon, 24 Aug 2015 12:39:16 +0000 (14:39 +0200)]
Add boot timeout

Boot process should timeout after selected number of seconds if no
output is generated. This allows resolving some problems with possible
boot stuck.

8 years agoFix wrong input type to compare_text in register_conf
Karel Kočí [Wed, 19 Aug 2015 19:44:16 +0000 (21:44 +0200)]
Fix wrong input type to compare_text in register_conf

8 years agoFix missing utils include in loop.py
Karel Kočí [Wed, 19 Aug 2015 17:03:09 +0000 (19:03 +0200)]
Fix missing utils include in loop.py

8 years agoUpdate ryuglab target linux
Karel Kočí [Wed, 19 Aug 2015 17:01:31 +0000 (19:01 +0200)]
Update ryuglab target linux

8 years agoRemove linux module
Karel Kočí [Wed, 19 Aug 2015 16:56:16 +0000 (18:56 +0200)]
Remove linux module

This modules is no longer used. It is expected that every target will
have it's own linux target.

8 years agoChange makefile linux paths to configured Linux source path
Karel Kočí [Wed, 19 Aug 2015 16:46:58 +0000 (18:46 +0200)]
Change makefile linux paths to configured Linux source path

Also remove unused buildroot targets

8 years agoRemove unused conf variables
Karel Kočí [Wed, 19 Aug 2015 16:40:31 +0000 (18:40 +0200)]
Remove unused conf variables

Some variables were no longer used or with current settup system made
no sence.

8 years agoMove boot and remove compile script
Karel Kočí [Wed, 19 Aug 2015 16:34:50 +0000 (18:34 +0200)]
Move boot and remove compile script

Compile script is not required if we use GNUmakefile.
Holding script folder only because of boot script makes no sense.

8 years agoUpdate linux for ryuglab target
Karel Kočí [Wed, 19 Aug 2015 16:26:35 +0000 (18:26 +0200)]
Update linux for ryuglab target

8 years agoFix build command for ryuglab target
Karel Kočí [Wed, 19 Aug 2015 15:32:36 +0000 (17:32 +0200)]
Fix build command for ryuglab target

8 years agoFix missing include in test script
Karel Kočí [Wed, 19 Aug 2015 15:31:25 +0000 (17:31 +0200)]
Fix missing include in test script

8 years agoFix wrong folder and remove unused script
Karel Kočí [Wed, 19 Aug 2015 15:28:08 +0000 (17:28 +0200)]
Fix wrong folder and remove unused script

In boot script was old name usable before previous commit.
Also patch script removed This script is no longer required, because
path is applied in submodule.

8 years agoRename ryuglab target folder cyclictest to boot
Karel Kočí [Wed, 19 Aug 2015 15:24:26 +0000 (17:24 +0200)]
Rename ryuglab target folder cyclictest to boot

Boot configuration it this folder wasn't usable only just for
cyclictest, but for any test. So new name is more descriptive.

8 years agoAdd linux for target ryuglab
Karel Kočí [Wed, 19 Aug 2015 15:16:17 +0000 (17:16 +0200)]
Add linux for target ryuglab

8 years agoAdded dirty repository check
Karel Kočí [Wed, 19 Aug 2015 12:58:36 +0000 (14:58 +0200)]
Added dirty repository check

Test run and initialization now shows warning about dirty repository
and loop can't be executed if linux or root repository is dirty.

8 years agoFix wrong input format to database
Karel Kočí [Wed, 19 Aug 2015 10:06:04 +0000 (12:06 +0200)]
Fix wrong input format to database

add_measure in boot script was called with list of lines instead of
single string.

8 years agoFix utils.callsubprocess stdin
Karel Kočí [Wed, 19 Aug 2015 09:58:47 +0000 (11:58 +0200)]
Fix utils.callsubprocess stdin

8 years agoFix boot.py parse call
Karel Kočí [Wed, 19 Aug 2015 09:50:27 +0000 (11:50 +0200)]
Fix boot.py parse call

8 years agoAdd git ignore for links
Karel Kočí [Wed, 19 Aug 2015 09:31:42 +0000 (11:31 +0200)]
Add git ignore for links

While booting are created links to upper folders. These links should be
ignored from git.

8 years agoPrint command and version to boot output
Karel Kočí [Wed, 19 Aug 2015 09:27:22 +0000 (11:27 +0200)]
Print command and version to boot output

8 years agoFix boot output parse script
Karel Kočí [Wed, 19 Aug 2015 08:48:38 +0000 (10:48 +0200)]
Fix boot output parse script

8 years agoAdd message about what configuration is measured
Karel Kočí [Wed, 19 Aug 2015 08:34:07 +0000 (10:34 +0200)]
Add message about what configuration is measured

8 years agoRemove unused atribute for parse script call
Karel Kočí [Wed, 19 Aug 2015 08:31:19 +0000 (10:31 +0200)]
Remove unused atribute for parse script call

8 years agoFix type exception in kernel.config
Karel Kočí [Wed, 19 Aug 2015 08:28:45 +0000 (10:28 +0200)]
Fix type exception in kernel.config

As name was given tempfile object no name of generated temporally file.

8 years agoRemove configuration folder creation from initialization
Karel Kočí [Wed, 19 Aug 2015 08:20:47 +0000 (10:20 +0200)]
Remove configuration folder creation from initialization

This folder is no longer used and shouldn't be created.

8 years agoStore boot output to database
Karel Kočí [Wed, 19 Aug 2015 08:14:53 +0000 (10:14 +0200)]
Store boot output to database

Because configuration is now stored in database only missing
informations to make database fully descriptive is boot output. This
makes output of boot command to be saved to database and not to file.

Also parse script should read input from stdin and not from file from
argument.

8 years agoFix wrong exception excepted in configurations script
Karel Kočí [Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)]
Fix wrong exception excepted in configurations script

8 years agoWrite stderr to log file together with stdout
Karel Kočí [Tue, 18 Aug 2015 13:48:11 +0000 (15:48 +0200)]
Write stderr to log file together with stdout

Utils function callsubprocess now logs all program output including
stderr.
Convenient would be to print stderr even if output is disabled. But
this would probably required threads.

8 years agoFix relative path to external buildroot packages
Karel Kočí [Tue, 18 Aug 2015 09:42:56 +0000 (11:42 +0200)]
Fix relative path to external buildroot packages

8 years agoryuglab boot force links
Karel Kočí [Tue, 18 Aug 2015 09:36:21 +0000 (11:36 +0200)]
ryuglab boot force links

8 years agoChange patch apply for ryuglab
Karel Kočí [Tue, 18 Aug 2015 09:18:54 +0000 (11:18 +0200)]
Change patch apply for ryuglab

Patch is now added directly as commit.

8 years agoFix database get_configsort
Karel Kočí [Tue, 18 Aug 2015 09:07:58 +0000 (11:07 +0200)]
Fix database get_configsort

Previous implementation was returning list of tuples. Now it is
returning list of strings.

8 years agoFix database add_configsort
Karel Kočí [Tue, 18 Aug 2015 08:55:11 +0000 (10:55 +0200)]
Fix database add_configsort

No attribute supplied when executed sql command.

8 years agoGenerate configuration as ditionary in picosat function
Karel Kočí [Tue, 18 Aug 2015 08:41:40 +0000 (10:41 +0200)]
Generate configuration as ditionary in picosat function

Picosat output is parsed and automatically is resolved to dictionary
with configuration option name as key and boolean value. This makes all
configurations in script of same type. All are dictionaries this way.

8 years agoAdd drop command for configopt table
Karel Kočí [Tue, 18 Aug 2015 08:26:26 +0000 (10:26 +0200)]
Add drop command for configopt table

This table was recently added, but was missing in databaseclean.sql.

8 years agoSet distclean to not dropping database
Karel Kočí [Tue, 18 Aug 2015 08:24:39 +0000 (10:24 +0200)]
Set distclean to not dropping database

Database is separated from project. It should be cleaned automatically
because of saving data.

8 years agoFix bug in wrong input type to CNF file generator
Karel Kočí [Tue, 18 Aug 2015 08:20:48 +0000 (10:20 +0200)]
Fix bug in wrong input type to CNF file generator

This caused that instead of multiple numbers was parsed only one number
including every single number character as separated number. Because of
this was generated wrong CNF file and sometimes if zero was in number
picosat failed with error.

8 years agoFix kernel temporally file removal
Karel Kočí [Tue, 18 Aug 2015 08:19:01 +0000 (10:19 +0200)]
Fix kernel temporally file removal

Temporally file generated in kernel script during configuration
applying wasn't closed/remove after end of usage.

8 years agoFix missing setting of kernel_env variable in ryglab target config
Karel Kočí [Mon, 17 Aug 2015 16:46:27 +0000 (18:46 +0200)]
Fix missing setting of kernel_env variable in ryglab target config

8 years agoGenerated configuration is now fully stored to database
Karel Kočí [Mon, 17 Aug 2015 16:35:12 +0000 (18:35 +0200)]
Generated configuration is now fully stored to database

Managing configurations in files and in database could cause
inconsistence. Adding all generated configurations to database allow us
to clean project files without loosing data.

8 years agoChange location for rootfs of tests
Karel Kočí [Mon, 17 Aug 2015 15:23:52 +0000 (17:23 +0200)]
Change location for rootfs of tests

Now every test should have its own folder with rootfs and parse script.

8 years agoChange execute folder for boot
Karel Kočí [Mon, 17 Aug 2015 14:58:43 +0000 (16:58 +0200)]
Change execute folder for boot

Folder in which novaboot is called is now same as nbscript. Binaries
are linked to this folder from upper folders.

8 years agoAdd etherwake to boot command
Karel Kočí [Mon, 17 Aug 2015 14:39:46 +0000 (16:39 +0200)]
Add etherwake to boot command

8 years agoFix relative path to .target file
Karel Kočí [Mon, 17 Aug 2015 14:25:11 +0000 (16:25 +0200)]
Fix relative path to .target file

.target file should load always from root folder of project to ensure,
that all tools in project are targeting same target.

8 years agoSet configuration back do default and add overlap
Karel Kočí [Mon, 17 Aug 2015 14:06:16 +0000 (16:06 +0200)]
Set configuration back do default and add overlap

Configuration is set back as it was before previous merge on branch
master.

Configurations for targets can be specified by overlapping
configuration options with external config.

8 years agoSet configuration back do default
Karel Kočí [Thu, 13 Aug 2015 15:21:31 +0000 (17:21 +0200)]
Set configuration back do default

Configuration is set back as it was before previous merge on branch
master.

8 years agoMerge branch 'measuring'
Karel Kočí [Thu, 13 Aug 2015 13:53:06 +0000 (15:53 +0200)]
Merge branch 'measuring'

Removing measuring branch. Idea was to make measuring configuration
separate from master. But keeping changes in master and measuring
branch consistent was pain.

8 years agoFix configuration generation missing file exception
Karel Kočí [Thu, 13 Aug 2015 13:48:40 +0000 (15:48 +0200)]
Fix configuration generation missing file exception

If generating single throw NoSolution exception, randomly generated CNF
file is removed. But finally statement tries to remove it once again.
Solution is to not remove CNF file in exception handling, but only by
finally statement.

8 years agoRemove parse_kconfig from test run
Karel Kočí [Thu, 13 Aug 2015 13:17:42 +0000 (15:17 +0200)]
Remove parse_kconfig from test run

Executing parse_kconfig in test run makes no sense and takes to much
time.

8 years agoFix wrong path to patch in patch script
Karel Kočí [Thu, 13 Aug 2015 13:12:51 +0000 (15:12 +0200)]
Fix wrong path to patch in patch script

8 years agoRemove duplicate variable in conf.py measuring
Karel Kočí [Thu, 13 Aug 2015 10:13:39 +0000 (12:13 +0200)]
Remove duplicate variable in conf.py

This duplication was created probably by merging.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:59:48 +0000 (11:59 +0200)]
Merge branch 'master' into measuring

Pull generate_single fix.

8 years agoFix single_generated_file writeback
Karel Kočí [Thu, 13 Aug 2015 09:57:40 +0000 (11:57 +0200)]
Fix single_generated_file writeback

measure_list containst ints. But method writelines can only be used with
strings.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:54:31 +0000 (11:54 +0200)]
Merge branch 'master' into measuring

 Conflicts:
conf.py
scripts/configurations.py

8 years agoFix generate single configuration
Karel Kočí [Thu, 13 Aug 2015 09:42:51 +0000 (11:42 +0200)]
Fix generate single configuration

This fixes and ensures that every call generates configuration. Unless
False is returned.

8 years agoFix thread cooperation in loop
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop

Measure function requires img and config as atributes. But only config
was provided.

8 years agoFix thread cooperation in loop
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop

Measure function requires img and config as atributes. But only config
was provided.

8 years agoImplement random generation of configurations
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations

Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.

8 years agoImplement random generation of configurations
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations

Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.

8 years agoCatch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread

8 years agoFix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database

8 years agoFix bug in configurations loading
Karel Kočí [Wed, 12 Aug 2015 15:28:00 +0000 (17:28 +0200)]
Fix bug in configurations loading

Loading configuration load all configuration options as True.

8 years agoFix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file

8 years agoFix if generated existing configuration
Karel Kočí [Wed, 12 Aug 2015 13:48:19 +0000 (15:48 +0200)]
Fix if generated existing configuration

When some generator tries to register already generated solution, it
shouldn't be registered.