* Fix backtraces for 64-bit programs
* Also, allow user to use any frequency in range [100 Hz; 100 kHz]
Bug
1527404
Change-Id: I29495ddd1449e59b354ac00d4112bdf7b9845375
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/427738
(cherry picked from commit
b4f84b60177750214ddac24c63c2f9a08b15ce05)
Reviewed-on: http://git-master/r/454469
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
if (get_sample_data(s, regs, task))
return;
- if (cc->cs_64)
- extra_data |= QUADD_SED_IP64;
-
vec[vec_idx].base = &extra_data;
vec[vec_idx].len = sizeof(extra_data);
vec_idx++;
vec[vec_idx].base = cc->types;
vec[vec_idx].len = nr_types * sizeof(cc->types[0]);
vec_idx++;
+
+ if (cc->cs_64)
+ extra_data |= QUADD_SED_IP64;
}
extra_data |= cc->unw_method << QUADD_SED_UNW_METHOD_SHIFT;
static int
validate_freq(unsigned int freq)
{
- if (capable(CAP_SYS_ADMIN))
- return freq >= 100 && freq <= 100000;
- else
- return freq == 100 || freq == 1000 || freq == 10000;
+ return freq >= 100 && freq <= 100000;
}
static int
#ifndef __QUADD_VERSION_H
#define __QUADD_VERSION_H
-#define QUADD_MODULE_VERSION "1.76"
+#define QUADD_MODULE_VERSION "1.77"
#define QUADD_MODULE_BRANCH "Dev"
#endif /* __QUADD_VERSION_H */