Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace files not always generated #45

Open
syltaxue opened this issue Jul 25, 2014 · 2 comments
Open

Trace files not always generated #45

syltaxue opened this issue Jul 25, 2014 · 2 comments
Assignees

Comments

@syltaxue
Copy link
Contributor

After fault injection, there are some cases where not all the runs have trace files generated.

For some of the runs, the program may crash before outputting trace files. And whether the trace files is generated or not is random. We may not be able to reproduce the same result every time we run fault injection.

@karthikp-ubc
Copy link
Contributor

Can you please provide an example program where this happens along with the input yaml files ? I'm not able to reproduce this issue on my Mac system. Thanks,

  • Karthik

@syltaxue
Copy link
Contributor Author

I replicated the bug with the test program factorial.c.

The steps below is how I reproduced the issue:

In instrument, I selected ret-(ReturnInst) and full trace with backward checked only. Note, if you select both backward and forward, it is very unlikely to reproduce the bug.

In profiling, I gave 10 as input. Then, in Runtimeoptions, I chose bitflip as the fault type.

After fault injection, the trace files are missing.

The contents below is the input.yaml file generated through the instrument step above:
kernelOption:
- forceRun

compileOption:
instSelMethod:
- insttype:
include:
- ret

regSelMethod: regloc
regloc: allsrcreg

includeInjectionTrace:
    - backward

tracingPropagation: True

tracingPropagationOption:
    debugTrace: True/False
    generateCDFG: True

runOption:
- run:
numOfRuns: 15
fi_type: bitflip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants